문제

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

도움이 되었습니까?

해결책

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.

다른 팁

insert

Director::set_environment_type("dev");

in your _config.php to see more error messages.

dont use this in live mode, only dev mode.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top