tdr170 Posted August 23, 2012 Share Posted August 23, 2012 (edited) So here is the situation I have installed the latest version of 1.4 from the SVN 1.4.9 and have made all mods from main shop and copied all product and other images to this install then copied database over and now both shops are identical with the exception of the version. (changed _base_uri and other nec. config. changes in database) When I went to log in to back office I had to have a new password emailed as the one I always use would not work after logging in I went to employees and changed back to original and all is well. But here is the real issue I have a customer account I use for testing so I went to FO and tried to log in and the password fails and I can only assume this would be the case with the other customer accounts. I did successfully reset the password using the forgot my password but how can I fix this so customers will not have issues with log in should I switch to the new store. Edited August 23, 2012 by tdr170 (see edit history) Link to comment Share on other sites More sharing options...
phrasespot Posted August 23, 2012 Share Posted August 23, 2012 Each installation hashes the passwords in a unique way using the values created during install. So if you reinstall PrestaShop and restore the old database, logins will not work, front office or back office (yeah, I know. What they were thinking). Hopefully you have a copy of your old /config/settings.inc.php somewhere. Copy the cookie key and IV values to the new settings.inc.php from the old one. Do the samefor Rijndael if you were using it. If you don't have a copy, then everyone will have to do the I forgot my pass routine. Link to comment Share on other sites More sharing options...
tdr170 Posted August 23, 2012 Author Share Posted August 23, 2012 Thanks phrasespot: I had actually thought about that today and you confirmed, so I changed the keys and now I can log in without using forgot my password. Thanks again. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now