How to move an existing installation to a new server
PermalinkThe new site rejects any attempt to log in, saying things like "Invalid email address" even though this is incorrect.
Any suggestions?
Did you solve this already?
Are we talking about a site with lots of users? If not, you might want to regenerate the password by using:
md5($uPassword . ':' . $salt);
and updating that to the database manually. At least that's what got me around the same problem the last time I encountered it.
Also was there any failed transfers during the transfer? If so, it can be a real pain in the ass to get the site working as it used to and I strongly advice to re-sync the files.
I've also noticed that by far the most reliable way to transfer a site is to create a new c5 installation to the destination server and then to transfer the db & all files excluding config/ concrete/ and cache/. After that you only need to change the pw salt from site config.
And to arrestingdevelopment,
If the DB credentials were to be wrong, it would throw a database error rather than wrong login credentials.
So it seems the problem arises from using HTTPS, and I may have to investigate this a bit further. I had naively hoped that it would be a drop-in replacement - but that was too optimistic.
Rick
Did you edit the "/config/site.php" file on the new server to give it the correct database location, name and login credentials?