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.

Installing SilverStripe

Getting SilverStripe up and running on your computer and on your web server.

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

Signing in to CMS


Reply

5 Posts   1023 Views

Avatar
kahchoka

29 March 2010 at 11:48pm (Last edited: 30 March 2010 1:21am), Community Member, 2 Posts

Hi, I'm having trouble signing in to the CMS, it keeps on saying that it doesnt recognise the email address, but I've cut n paste it from when I installed, it says I maybe need to sign up, is this something else I need to do?

Avatar
Willr

30 March 2010 at 11:13am Forum Moderator, 5511 Posts

If you are having trouble logging in you can hard code a member account by putting this in your mysite _config file

Security::setDefaultAdmin('admin', 'password');

Using that should enable you to at least log in. You can then go to the security tab and fix / edit your details if they are missing

Avatar
kahchoka

30 March 2010 at 9:59pm Community Member, 2 Posts

Awesome, that worked a treat, thank you

Avatar
gooberguy

10 April 2010 at 9:24am (Last edited: 10 April 2010 12:02pm), Community Member, 9 Posts

I'm actually having the same exact problem and when i added in

Security::setDefaultAdmin('admin', 'password');

before the ending ?> i still cant login with those credentials. the site doesnt even give me an error, it just bumps me back to the login screen with no errors and the fields cleaned out

edit: i'm not sure if this has anything to do with it, but i installed silverstripe not in the root folder, but in a folder named "test" so to access my silverstripe page i have to go to www.mysite.com/test

Avatar
gooberguy

11 April 2010 at 4:47am Community Member, 9 Posts

actually solved it... it was a browser issue.

a combination of deleting my cookies and restarting the comp let me log in.

odd