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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

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

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

Premature end of script headers: main.php


Go to End


1883 Views

Avatar
dynamite

Community Member, 66 Posts

7 June 2011 at 4:06am

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!