Uploadify: File upload error - unable to create a temporary file in Unknown on line 0
Solution 1
It seems that your /tmp
has space issues.
You can check the disc space size by running df -h
on the console.
If you cannot clear the /tmp
space issue, you could consider moving the temporary upload file path: http://www.php.net/manual/en/ini.core.php#ini.upload-tmp-dir
Solution 2
unable to create a temporary file in Unknown
implies that your temp path isn't set, or can't be read. Try restarting your server and try again. If that doesn't work, check that your php.ini has a temp path set.
Nick
Updated on June 28, 2022Comments
-
Nick almost 2 years
I am experiencing the following error with uploadify and uploadifive:
PHP Warning: File upload error - unable to create a temporary file in Unknown on line 0
This is an intermittent issue. Sometimes uploads work OK, sometimes not. Up until yesterday all was working well, and I am not aware of having made any changes to uploadify or uploadifive. At the front end it appears that uploads have completed successfully, i.e. no errors are reported and the
onQueueComplete
event fires, but files are not showing in my upload folder, and the error above shows in myerror_log
.I'm wondering what I can do to troubleshoot this issue.
ADDITIONAL SESSION ERRORS:
PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: open(/tmp/sess_6d08c1a8c3703bb08a3dc585e1828109, O_RDWR) failed: No space left on device (28) in /home/..../uploadifive.php on line 6 PHP Warning: Unknown: open(/tmp/sess_6d08c1a8c3703bb08a3dc585e1828109, O_RDWR) failed: No space left on device (28) in Unknown on line 0 PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0