Darkur

🧨 fopen(): Filename cannot be empty

laravel Icon

🧨 fopen(): Filename cannot be empty

We encountered a problem trying to display your exception.

Solution

In the php.ini file, 
Assign the users temp folder to 'upload_dir_tmp'.

The default C:\Windows\Temp is not the right folder for everyone, depends on what type of environment you are working in.            
Jul 16, 2021 Anyone

2 replies


Darkur

This error was still not resolved for me. Even after changing the php.ini file... Currently working with multiple people on the fix, but we haven't gotten very far unfortunately...

Darkur

I have resolved this issue by repeating the 'solution' process on the Domain Controller. I am working on a RDP from Windows and reinstalling PHP and changing the upload_dir_tmp fixed it.


Install the browser extension

Found this solution helpful? Try our extension for quick solutions to your Laravel errors.

Chrome logo Add to Chrome - It's free