Every so often, I cannot upload photos using the gallery module. Whether uploading via the new entry tab or via batch, after clicking submit, the page will just go white - no source code or errors displayed. It looks like PHP just gives up. The host is running suPHP if that makes a difference.
Running 1.7.1. Error has occurred on 1.6.3 and up. Have upgraded hoping there was some odd bug somewhere.
The issue is seemingly random. I originally thought it was a spotty network connection the client was using (satellite, mifi), but I have ran into the issue on the 2 connections available to me as well (cable 6/1 MB and 16/2 MB).
I’ve checked permissions on the upload directory - which are fine since it works at times. Reapplied permissions on all directories from the root photo directory on down.
Checked upload paths in file and system prefs. Removed the trailing / and resubmitted.
Cleared caches.
I’ve enabled debugging on level 2 hoping to get some errors - nothing is given.
I’ve checked server logs (that I can, shared hosting) and there are no errors.
Was running PHP4, switched to PHP5 - no change.
Bumped PHP maximum post and upload to 20 MB.
Have increased PHP script timeout values.
I’ve checked for open upload_tmp_dir, open_basedir and safe_modein PHP info - nothing set.
While troubleshooting, sometimes it works, sometimes it doesn’t. I can upload a 500K photo, it fails on a 1.5 MB photo, can upload another 700 k photo, it fails on a 360k photo. There doesn’t seem to be any pattern or consistency I can find.
Working with the web host, and they too are unable to see anything weird or indicate there may be an issue somewhere.
I’m just short of backing up, reinstalling and bringing the site back in to make sure there is not a corrupted file somewhere - but that doesn’t make sense since it does work at times.
Any thoughts?