Jump to:

22979 Posts in 11808 Topics by 2827 members

General Questions

SilverStripe Forums » General Questions » [Solution] 500 error for admin Page under SS 2.2.3

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

Page: 1
Go to End
Author Topic: 732 Views
  • OnebyOne
    Avatar
    Community Member
    54 Posts

    [Solution] 500 error for admin Page under SS 2.2.3 Link to this post

    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.

    732 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.