Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

share|improve this question
    
Which http server are you using? –  Iain Jul 30 '13 at 6:01
    
@Iain - It's Apache –  Justin808 Jul 30 '13 at 6:02
add comment

1 Answer

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.

share|improve this answer
    
The 500 error must be from PHP then, but I still dont understand how its happening. It looks like the whole process is started over 1/2 way through with a blank post... The error is complaining there is no file, but the file was 1/2 processed. –  Justin808 Jul 30 '13 at 5:40
    
You can ask a question about the error you received, but if it's a programming question it should be on our sister site Stack Overflow. –  Michael Hampton Jul 30 '13 at 5:42
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.