Jump to:

23551 Posts in 19348 Topics by 2891 members

General Questions

SilverStripe Forums » General Questions » Can't login, even with default admin set

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: 1507 Views
  • SheaDawson
    Avatar
    Community Member
    45 Posts

    Can't login, even with default admin set Link to this post

    I am currently in the process of deploying a SilveStripe site on a production server. Everything is running fine except I can't login at /Security/login.

    The database was imported from my local development site. I have checked the members table in the database, there are 2 records there. I have also set the default admin in mysite/_config.php using

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

    But every time I try to login I just get redirected back to the login page with no message.

    I even the reset password process, got sent the reset link but that just redirects me back to /Security/login?BackURL=%2FSecurity%2Fchangepassword, requesting I log in again...

    Could it be something to do with the server? The client has their own hosting with NetFirms (which I have not used before)... Anyone have any trouble shooting suggestions?

    Thanks

  • SheaDawson
    Avatar
    Community Member
    45 Posts

    Re: Can't login, even with default admin set Link to this post

    After over 3 painful hours trying to work this out I finally got it. Tried doing a fresh install of SilverStripe on the server and was recommended by the installer to adjust the following.

    magic_quotes_gpc = off
    asp_tags = off

    Yay

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