Jump to:

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
  • MarijnKampf
    Avatar
    Community Member
    140 Posts

    No 500 status code on errors Link to this post

    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?

  • simon_w
    Avatar
    Community Member
    356 Posts

    Re: No 500 status code on errors Link to this post

    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

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.