Jump to:

325 Posts in 200 Topics by 157 members

Migrating a Site to Silverstripe

SilverStripe Forums » Migrating a Site to Silverstripe » Authentication issues after moving SS between servers

What you need to know when migrating your existing site to SilverStripe.

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

Page: 1
Go to End
Author Topic: 2141 Views
  • cpxksr
    Avatar
    Community Member
    5 Posts

    Authentication issues after moving SS between servers Link to this post

    Hi!

    I just moved a SilverStripe site between servers (from ubuntu to debian, same PHP version, same mysql version) and everything works, except for user logins ;)

    Users can recover passwords with the recovery function and reset them, but all the original password just don't work (had to reset the admin password as well).

    Does this have something to do with the encryption and the salting of the passwords? Do I have to make all users go through resetting their passwords or can some SQL trickery save my a**?

    br,
    cpxksr

  • Willr
    Avatar
    Forum Moderator
    5490 Posts

    Re: Authentication issues after moving SS between servers Link to this post

    See http://open.silverstripe.com/ticket/3004 for a thread discussing what is probably the cause of your error. Not sure if there is a suggested fix in that list but have a look.

  • alvonso
    Avatar
    Community Member
    6 Posts

    Re: Authentication issues after moving SS between servers Link to this post

    Any news on this? cpxksr did you find a solution for this?

    I'm kind of reluctant to upgrade our 2.3.2 version, because we have quite a few custom modifications.

    Thanks

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: Authentication issues after moving SS between servers Link to this post

    @alvonso - in case you haven't noticed, the ticket in the post you responded to is marked as "fixed". please check out 2.4 beta2

  • Coso
    Avatar
    Community Member
    7 Posts

    Re: Authentication issues after moving SS between servers Link to this post

    I had the same problem exporting a 2.3.6 database to a fresh 2.4.0 installation. But this only happened in the development stage, exporting from a local MAMP installation on Mac to a XAMPP installation on Windows XP. MAMP to MAMP works fine.

    I resolved wiping my members and members password records from the database and adding:

    Security::setDefaultAdmin("user", "password");

    to my _config.php in \mysite.

    I'm sure there's a better option though..

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