18591 Posts in 4875 Topics by 2285 members
General Questions
SilverStripe Forums » General Questions » No 500 status code on errors
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 97 Views |
-
No 500 status code on errors

20 December 2011 at 9:44pm
I received an error report from one of my users, but they forgot to note on which page. I tried doing a link check with Xenu to identify it, only to discover that if an error occurs on a page no 500 (or other) http status code is returned. It still returns a 200 page status code.
Is this intentionally? I would think the appropriate error code should be returned instead?
-
Re: No 500 status code on errors

20 December 2011 at 10:26pm
SilverStripe is only able to return the error if it's something that it can catch. Things like parse errors and timeouts can't be caught by SilverStripe, so the server responses with any output and the default status code of 200.
| 97 Views | ||
|
Page:
1
|
Go to Top |

