Jump to:

23371 Posts in 18161 Topics by 2865 members

General Questions

SilverStripe Forums » General Questions » Unable to login to Silverstripe Admin

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: 13943 Views
  • Ricardo
    Avatar
    Community Member
    11 Posts

    Unable to login to Silverstripe Admin Link to this post

    I need some urgent assistance to get into admin panel as the passwords are not working.
    I believe I have to make some adjustments but Iam not exactly sure

    Ian

  • Aram
    Avatar
    Community Member
    598 Posts

    Re: Unable to login to Silverstripe Admin Link to this post

    Have you got into the admin area before or have you just finished installing?

  • Ricardo
    Avatar
    Community Member
    11 Posts

    Re: Unable to login to Silverstripe Admin Link to this post

    I was in log in admin area many times before using the default admin and password. I tried to change to my e-mail and a different password and I was unable to get back into admin. Each time i got a message saying it does not seem Iam using correct e-mail or password and try again when I use admin as email and password as password.

    Thanks for your kind attention

    Ricardo

  • Fuzz10
    Avatar
    Community Member
    787 Posts

    Re: Unable to login to Silverstripe Admin Link to this post

    Try putting a default username / password in your _config.php...

    e.g. :

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

  • micahsheets
    Avatar
    Community Member
    164 Posts

    Re: Unable to login to Silverstripe Admin Link to this post

    I have run into a similar problem. I originally developed a site using _ss_environment.php on my development server. Now that the site is going live for a client I need to put the specifics of the live server in the _config.php and not use _ss_environment.php any more.

    So I put all my config info into the _config.php file like I used to do before I could use _ss_environment.php and all works for the front end. However on the back end I can no longer log in using the admin credentials stored in the database. The login form tells me that the login is incorrect.

    When I put Security::setDefaultAdmin('admin','password'); in the _config.php I can login.

    My question then is why, once I used the _ss_environment.php does the system not just look in the database for the admin user any more. I commented out the require_once("conf/ConfigureFromEnv.php"); line from _config.php so it would not define any variables.

    It is not really a problem since I can set the default admin in the _config.php, but I would rather not expose the login info in a file on the server.

  • saemmi
    Avatar
    Community Member
    6 Posts

    Re: Unable to login to Silverstripe Admin Link to this post

    Argh...
    After installing, which finally worked with the actual RC, it says login with admin:admin password:password as default.
    this doesn't work.
    tried to write it into _config.php, result is a screen with multiple errors (see attached image)

    it is really sad. when i tried out silverstripe half a year ago, everything was fine. now i am sitting and trying to install since 3 days...

    edit: it was a php syntax error: everybody else with this problem use:

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

    Attached Files
  • Ricardo
    Avatar
    Community Member
    11 Posts

    Re: Unable to login to Silverstripe Admin Link to this post

    Iam now able to login . I used "Securityset etc" as advised
    Thanks for the support

  • CompNrd
    Avatar
    Community Member
    2 Posts

    Re: Unable to login to Silverstripe Admin Link to this post

    I am using 2.4.5 and I have tried everything to reset the forgotten password...

    Any hits guys?

    13943 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.