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

Premature end of script headers: main.php




7 June 2011 at 4:06am Community Member, 66 Posts

Hello -- I have a very strange problem and have no idea where to even start looking further. I am running SS v. 2.4.5 on Apache 2, PHP 5.2.11 with suPhp.

The page works if I am logged in, or if I append ?stage=live

If I am not logged in, or I don't include ?stage=live, I get a generic "Server error" and in the Apache log it says "Premature end of script headers: main.php"

Any ideas or pointers?

Thank you!