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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Installing SilverStripe /

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

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

Account Issues


Go to End


3 Posts   1877 Views

Avatar
moonlight

Community Member, 5 Posts

10 April 2010 at 7:54am

Hi Guys,

Immediately after installation of SilverStripe I am redirected to the login page. However, upon entering my UN and PW (of which I created moments before) it prompts "That doesn't seem to be the right e-mail address or password. Please try again.". I have tried 4 reinstalls.

Help would be greatly appreciated.

Thanks in advanced,

Tom

Avatar
OwenW

Community Member, 45 Posts

13 April 2010 at 2:34am

Edited: 13/04/2010 2:34am

Hi Moonlight,

Edit: I should ask - What version of SS?

Whilst I don't have an answer for you about the problem you are seeing (usernames and password "Just Work" for me on install) you are able to set a default user name and password in configuration so that you can keep moving without re-installing everytime.

Put the following in to mysite/_config.php

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

This will force the default user admin user to be 'admin' , with a password of 'password'.

Anyway, this should get you past this problem without needing to get dirty in the database to ensure that your initial user has been created.

Cheers
Owen

Avatar
moonlight

Community Member, 5 Posts

13 April 2010 at 4:46am

Excellent, it's all sorted now.

Thank you very much Owen.