Suddenly can’t upload images – php.ini error
-
I have already read through the other posts about this issue from the past, but none were resolved and none seemed to have any answers that help here.
Out of the blue, when I went to upload an image using the Flash uploader today, I got this message:
“File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini.”
I have tried other images and even tried creating a new post in case the first one had glitched, but that has not helped. I do not upload large file sizes and the image in question is a simple 200×200 thumbnail that’s roughly 50kb.
The Browser uploader doesn’t work, either, and I have contacted server support (GoDaddy, who said this was a WordPress issue and they may or may not be right) and accessed the configuration file details through the CGI Admin. file_uploads is set to On and the post_max_size and upload_max_size are both set at the same value. I have changed nothing in any of this and everything was working fine last night (and has for months).
After reading posts here, I’ve tried creating new php.ini and php5.ini files with higher limits for upload and post max size, as well as file_uploads set to On, but that has not helped. I’m not sure what else I can do, but this is very random and I do not know how to fix it.
The faster a resolution can be found, the better, so any help is greatly appreciated. Thanks.
- The topic ‘Suddenly can’t upload images – php.ini error’ is closed to new replies.