Jump to:

23578 Posts in 19403 Topics by 2893 members

General Questions

SilverStripe Forums » General Questions » Can't log in to newly moved site

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: 813 Views
  • tryinHard
    Community Member
    4 Posts

    Can't log in to newly moved site Link to this post

    Forgive me ignorance, here. I have never moved a Silverstripe site, and apparently, I broke something.

    Steps I took:

    -backup db on old host
    -download files from web directory on old host
    -restore database to new host
    -download new stable release (2.3.5). I was running 2.3.3 on old host, but foolishly, I don't have the whole package anymore and thought 2.3.5 would be fine (maybe that was a bad idea)
    -copy new release to new host web dir
    -run install with new host db credentials, location, and same admin credentials as the old host
    -copy customized folders from old site to new web dir

    When I browse to the new host site, the site looks great. However, when i try to log in, there's really no response. The page refreshes (and the url changes to 'site.com/Security/login#MemberLoginForm_LoginForm_tab', but I get no error message and no entry.


  • zenmonkey
    Community Member
    528 Posts

    Re: Can't log in to newly moved site Link to this post

    Try hard coding a default admin in your _config.php and see you can log in with those credentials.

    Security::setDefaultAdmin("$username", "$password");

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.