Jump to:

23377 Posts in 18296 Topics by 2868 members

General Questions

SilverStripe Forums » General Questions » Random occuring Website Error Not Found?

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1195 Views
  • netnerd85
    Avatar
    Community Member
    42 Posts

    Random occuring Website Error Not Found? Link to this post

    Hey all,

    We're having a strange problem occuring on one of our SilverStripe websites. Only every now and then, on random pages you get the standard GET /whatever-page, Website Error, Not Found error page. Refresh and it's fine. Has anyone had this happen? Is it a common bug? Something wrong with the server setup? Any help would be great! Thanks

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Random occuring Website Error Not Found? Link to this post

    It could be a memory limit issue or some pages taking a bit longer (eg when the cache is cold) which is causing an error. Best way to debug would be to investigate your PHP / apache error log on your server.

  • netnerd85
    Avatar
    Community Member
    42 Posts

    Re: Random occuring Website Error Not Found? Link to this post

    Well I found it's giving me this: "Premature end of script headers: main.php" and setting the system to DEV mode changed the error to a page cannot be found error. I've increased the memory limit and that did nothing. The fact that it happens randomly and not every time is confusing. Any ideas?

    Edit: Further inspection shows that the Website Error, Not found error isn't generating any errors in the log files...

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Random occuring Website Error Not Found? Link to this post

    The premature end of script headers error sounds like its a common issue (do a google search) and it seems like the issue is normally related to the configuration of being installed as a CGI API. If you do a quick google search you can uncover much more information but you will probably need to get in contact with your host.

  • netnerd85
    Avatar
    Community Member
    42 Posts

    Re: Random occuring Website Error Not Found? Link to this post

    Well further inspection shows that the Website Error, Not found error isn't generating any errors in the log files. The errors are coming from SilverStripe when there are no errors. Sounds like a problem with the "software" rather than the host considering there are many other SilverStripe websites on the server. Could it be a version thing? some dodgy or nasty code in one version causing the issue?

    Thanks for the google pointer, I searched these forums also to no help

    1195 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.