Error 500 instead of 200 on 2.1
Posted by: sunco (---.static.avantel.net.mx)
Date: March 19, 2011 09:53PM

I have WampServer 2.1 (Php 5.3.5 / Apache 2.2.17) and the new way that it display error is great

However I use a Flash object to upload files and it detects when the server return an Error, I guess it detects 4** or 5** responses. In this case, WampServer returns a 200 and the error msg

Is there a way to change that ? Or maybe a 4** or 5** with the error ?

Maybe 4** and 5** are unique and the broser stop anything before it fires, so maybe a way to easily change that 200 for a 5** (in this case)

Options: ReplyQuote
Re: Error 500 instead of 200 on 2.1
Posted by: stevenmartin99 (---.b-ras1.srl.dublin.eircom.net)
Date: March 19, 2011 09:59PM

Are you sure?

a 200 isnt an error. its a success message,

The 200 means the page loaded ok.. as in it completed...it wont know if objects did/didnt work on the page.

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: Error 500 instead of 200 on 2.1
Posted by: sunco (---.static.avantel.net.mx)
Date: March 19, 2011 10:10PM

Thanks for your answer

Yep, I know what 200 means, but it appears that WampServer converts that 500 for a 200 to display the error

The msg comes with "xdebug" strings in it

Screenshot: [img535.imageshack.us]

Options: ReplyQuote
Re: Error 500 instead of 200 on 2.1
Posted by: stevenmartin99 (---.b-ras1.srl.dublin.eircom.net)
Date: March 19, 2011 10:19PM

Im confused? are you talking about the errors in orange?

and the bit below is the result of 200?


this is very normal.. client got the page fine. it would always be a 200 message in this case. the fact that php couldnt find particular files NEVER stops the sending of the page. The Header is still sent...


You just need to fix those php errors


look in the actual apache log in c:\wamp\logs to see what it says

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]



Edited 1 time(s). Last edit at 03/19/2011 10:23PM by stevenmartin99.

Options: ReplyQuote


Sorry, only registered users may post in this forum.