Ive had a similar problem with large photos (4000×4000) + resolution jpegs 4-7mb+ Even though the the upload limit was fine, it was that WordPress was hitting the php memory limit set on the host whilst trying to process (crunch) the images and create all the variations.
try uping the php memory limit.
I’ve uploading larger images before I am not sure why it would be giving me issues now, but thank you. I’ll give it a try.
I will let you know if your solution works.
I found that it was the physical dimensions of the image Megapixel not the file size that was casing the memory issues.
I’d advised my client on how to save for web an not upload raw camera jpeg to their site, so they were confused when they couldn’t upload their images, it was only when I got samples of the images that i figured out how massive they were and then figured out it was a memory issues related to processing and resizing physically large images.
It could also be that you host has changed your memory limit or that wordpress is now using more memory is self and that combined with the image processing is maxing out your servers limit for a single request.
Interesting, thanks for the information.
That makes sense with how the errors have been coming about, but I been uploading files in the past with identical resolutions and file sizes with no issue. So we’ll see what solves this issue.
Sure, sorry i’ve just read that back and I sound a bit like a dog with a bone, but i’d be a bit surprised if your tmp folder was full as its just a folder on the server and would only be full if the server was in fact full, and then you’d have bigger problems.
it could not exist or have the wrong permissions but then you wouldn’t be able to upload anything at all.
anyway i found this and the first couple sound like good places to start:
http://stackoverflow.com/questions/12531408/setting-php-tmp-dir-php-upload-not-working
Check upload_tmp_dir in php.ini. This is directory where PHP stores temporary files while uploading.
Check open_basedir in php.ini. If defined it limits PHP read/write rights to specified path and its subdirectories. Ensure that upload_tmp_dir is inside this path.
Check post_max_size in php.ini. If you want to upload 20 Mbyte files, try something a little bigger, like post_max_size = 21M. This defines largest size of POST message which you are probably using during upload.
Check upload_max_filesize in php.ini. This specifies biggest file that can be uploaded.
Check memory_limit in php.ini. That’s the maximum amount of memory a script may consume. It’s quite obvious that it can’t be lower than upload size (to be honest I’m not quite sure about it-PHP is probably buffering while copying temporary files).
Thanks for the additional avenues to try. I’ll explore all these options later today and get back to you. Thanks again.