ebuoe
ebuoe

Reputation: 109

un-explainable problem with file uploads

Everything was fine with my file upload script until I decided to upload larger files and by larger files am talking about just 2mb talk more of a 30mb file. I have been to my php.ini to change the following:

post_max_size = 100M
upload_max_filesize = 120M

The memory limit was left @ d default 128M after all this settings it still did not work, it shows this error message

"file could not be written to disk"

Some friends suggested that it had something to do with d permissions but I doubt that because the same script works for smaller files 600kb and below. I can't really explain what is going on. Any help would be appreciated.

Upvotes: 5

Views: 777

Answers (2)

ToughPal
ToughPal

Reputation: 2247

I had this problem and fixed it by increasing the size of the tmp folder. Check the tmp folder size and make the size is big enough.

Upvotes: 0

Epharion
Epharion

Reputation: 1071

If linux, check your quota for the user. Maybe your disk is full.

Upvotes: 2

Related Questions