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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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

[Solution] 500 error for admin Page under SS 2.2.3

Go to End



Community Member, 54 Posts

4 February 2009 at 8:25pm

Edited: 04/02/2009 8:26pm

May be this will be useful for some users:

I've installed blog and ecommerce module, also i've created WhateverPage.php in mysite/code. After running the db/build (SS.2.2.3) and working all day (during the day i have deleted the WhateverPage.php and run db/build. The next day I've come and see that admin page is not longer working and got 500 error.

So, i've enter in dev mode put in yourproject/_config.php Director::set_environment_type('dev');

I saw that WhateverPage class was missing. Looked in dbase into the Site Tree and it was good, without WhateverPage. Was a cache problem.

Scond step put in yourproject/_config.php HTTP::set_cache_age(0);

Clear browser cache, and runf flush, also you could run db/build one more time.