February 18th, 2013, 04:30 AM
Upload file not working
I have created a simple script to upload file. It's not working. Shows error code 7.
I am running the script on CentOS. I have given full permissions (777) on upload temporary, final folders, even on the script file.
Temporary upload folder set through php.ini
Script has all required parameters like enctype="multipart/form-data" etc.
February 18th, 2013, 04:49 AM
Error 7 is about writing to the disk in general, not permissions or really anything influenced by your code.
Check free disk space, quotas... other things...
February 18th, 2013, 07:45 AM
Thanks for your response.
But, if it's disk quota issue, I won't be able to upload files even through FTP, right?
I am able to upload 50 KB files through FTP but even 2KB file is not uploaded through my script.
February 18th, 2013, 08:13 AM
 Nevermind, you put more effort into another thread I found elsewhere on the Internet. Good luck with that.
Last edited by requinix; February 18th, 2013 at 08:19 AM.