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


Reply


5 Posts   2168 Views

Avatar
cpxksr

Community Member, 5 Posts

14 October 2009 at 9:13pm

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

Avatar
Willr

Forum Moderator, 5513 Posts

14 October 2009 at 10:23pm

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.

Avatar
alvonso

Community Member, 6 Posts

19 March 2010 at 2:03am

Edited: 19/03/2010 2:10am

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

Avatar
Ingo

Forum Moderator, 801 Posts

19 March 2010 at 8:11pm

@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

Avatar
Coso

Community Member, 7 Posts

9 May 2010 at 11:21am

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