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

Account Issues


Reply


3 Posts   1117 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.