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.

Migrating a Site to Silverstripe

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

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

Authentication issues after moving SS between servers


5 Posts   2161 Views


14 October 2009 at 9:13pm Community Member, 5 Posts


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**?



14 October 2009 at 10:23pm Forum Moderator, 5511 Posts

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


19 March 2010 at 2:03am (Last edited: 19 March 2010 2:10am), Community Member, 6 Posts

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.



19 March 2010 at 8:11pm Forum Moderator, 801 Posts

@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


9 May 2010 at 11:21am Community Member, 7 Posts

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