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:

Template Questions /

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

problem accessing backend cms

Go to End

3 Posts   1489 Views


Community Member, 7 Posts

29 December 2011 at 12:10am


I've created a new theme, actually a copy of blackcandy.
I've modified the _config.php file to SSViewer::set_theme('newtheme');
And now I can't access the cms backend thru http://localhost/silverstripe/admin command. I can't log in because no form is displayed.
The system automatically redirects to http://localhost/silverstripe/Security/login?BackURL=%2Fsilverstripe%2Fdev%2Fbuild
and displays my new theme as i can find at http://localhost/silverstripe...
I have no control over the cms.
This happens every time I want to create a new theme.

Any ideas why?



Forum Moderator, 1391 Posts

29 December 2011 at 3:27am

If it's an exact copy of BlackCandy, it should work, at least after a ?flush=all ... Make sure the $Form variable is present in the content area of the area, because that is what makes the (login)form appear. Make sure to flush again after you add it (if it's missing).


Community Member, 7 Posts

29 December 2011 at 7:55pm

Thanks for your reply martimiz.
Yes, its finally working. I had this $Form variable on my custom Home Page page type...maybe that's why it didn't work in the first place.