views:

152

answers:

2

Hi!

Silverstripe is running on my since a few weeks. Recently, I get an Internal Server Error message when I try to access the admin area.

Having a look in the server's error logs, I discovered following hint:

[Mon Apr 05 12:15:26 2010] [error] [client ...] Premature end of script headers: main.php

I already was refered to this site: What does the 'premature end of script headers' error mean?

But does anybody had this problem in connection with Silverstripe? Would make it much easier to restrict the scope from where the error is caused.

Regards, Benedikt

+1  A: 

Sounds like some files have been corrupted somehow. Back up your database using PHPMyAdmin or HeidiSQL back up the content, mysite and theme folders, and move away all the other files except config.php, replacing them with a fresh copy from SS.org. The best way to do this is to unpack the files on the server. You can then put back your content, mysite and theme folders.

dingle_thunk
Thanks. I'll give it a try!
Benedikt R.
A: 

Well... it seems to work now.

Reason: SilverStripe required a seperate 'Security.ss'-template for the login area. (I wonder, why it didn't was in need of that, before!)

Unfortunatelly the web server displayed a very general 'Internal Server Error'-Message. When i ran the site on another server, SilverStripe was able to display error messages to me.

Benedikt R.