Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

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

Random occuring Website Error Not Found?


Reply


5 Posts   1217 Views

Avatar
netnerd85

Community Member, 42 Posts

21 August 2010 at 6:31am

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

Avatar
Willr

Forum Moderator, 5513 Posts

21 August 2010 at 2:19pm

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.

Avatar
netnerd85

Community Member, 42 Posts

23 August 2010 at 5:11am

Edited: 23/08/2010 8:58am

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

Avatar
Willr

Forum Moderator, 5513 Posts

23 August 2010 at 9:06am

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.

Avatar
netnerd85

Community Member, 42 Posts

23 August 2010 at 10:37pm

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 :(