OK, so I’m uploading a 350meg zip file. The file one uploaded is unzipped and the contents are processed. The processing consists of reading in a data file, then copying and thumbnailing images, the adding data to a database. This is all once process start to finish. I can see in the log that the datafile is processed. I can see on the filesystem the thumbnails get created. But then it looks like the whole this starts over from scratch with blank post data and it fails.
When I look at the httpd log I see
##.###.##.## - - [29/Jul/2013:23:52:30 -0500] "POST /new/upload HTTP/1.1" 500 910 "http://trees.domain.com/new" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.71 Safari/537.36"
500 is an internal server error. no idea what the
910 means. When I look at my server error log, it’s empty. Not sure what I can do or how to go about solving this issue. The same code works fine on my local system.
Again, the upload is 1/2 processed, then looks like it starts over with a blank POST and errors. What can I do to get more information? Any idea’s on how to solve this?
910 is the number of bytes returned to the client.
And the 500 Internal Server Error is returned whenever PHP fails due to a fatal error. You can find the actual error logged in the server’s error log, which you should check to find out what is wrong with your script.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.