dibs223 Posted February 10, 2012 Share Posted February 10, 2012 Ive backed up my database, but when I come to import it to my new installation I cannot get into my BO user name and password? Im I doing somthing wrong with importing the database or do I need other files too from my old installation to the new one? Thanks Link to comment Share on other sites More sharing options...
shacker Posted February 10, 2012 Share Posted February 10, 2012 you need to configure your settings.inc,php, and maybe regenerate your password in bacl office. TO do this, you need to edit the employee table and change the password (is in md5, so you need to regenerate again). TO create a new md5 password, copy your cookie (is in settings.inc.php) and put here http://www.md5.cz/ and after the cookie put your passwordlike COOKIEYOURPASSWORD generate the md5 password, and paste into the employee database Link to comment Share on other sites More sharing options...
dibs223 Posted February 10, 2012 Author Share Posted February 10, 2012 So everytime i have to restore or update prestashop I have to do this? surly there is a easier way :-) how do i config the settings.inc,php? thanks for the help! Link to comment Share on other sites More sharing options...
dibs223 Posted February 10, 2012 Author Share Posted February 10, 2012 I cannot get into the BO to change the password! Link to comment Share on other sites More sharing options...
shacker Posted February 10, 2012 Share Posted February 10, 2012 dont need to get into BO, use phpmyadmin from your hosting panel Link to comment Share on other sites More sharing options...
dibs223 Posted February 10, 2012 Author Share Posted February 10, 2012 its not the database that i cannot get to import! its after ive imported the database I cannot get into the BO! Link to comment Share on other sites More sharing options...
dibs223 Posted February 10, 2012 Author Share Posted February 10, 2012 i think you are miss understanding me here! After Ive imported the database I need to get into the BO or i cannot use this software! And this is what is happening when I import the database it stoppes me getting into the BO! Link to comment Share on other sites More sharing options...
dibs223 Posted February 10, 2012 Author Share Posted February 10, 2012 e.g I have prestashop on one pc now I need to put it onto another pc so i backup the database and out it onto the second computer. When I do this I can no longer get into the BO the user name and passwords no longer work. Link to comment Share on other sites More sharing options...
shacker Posted February 10, 2012 Share Posted February 10, 2012 i understand, you put that you cant login. ANd if cant login, is becouse the password is grong. or username not exists. For this i suggest that you rewrite your password Link to comment Share on other sites More sharing options...
dibs223 Posted February 10, 2012 Author Share Posted February 10, 2012 ok thanks for that. Can you give me the process to do this please. Im not following fully how to do this. I have opened my settings.inc.php do I copy the cookie key and past it into the function md5 then copy back the output to the settings.inc.php ? if so what user name and password will it be? Link to comment Share on other sites More sharing options...
dibs223 Posted February 10, 2012 Author Share Posted February 10, 2012 This cannot be the way to get it to work. I would have to change all my customers password. so this is no good! I need to fig why its not excepting user name and password when i import it? Link to comment Share on other sites More sharing options...
shacker Posted February 10, 2012 Share Posted February 10, 2012 the problem is the cookie key. maybe change . you needto find in a backup of your settings.inc.php your last cookie key Link to comment Share on other sites More sharing options...
dibs223 Posted February 10, 2012 Author Share Posted February 10, 2012 Thanks Shacker ive got it to work :-) still not 100% thought the images are a bit out when i log in the BO now lol Link to comment Share on other sites More sharing options...
shacker Posted February 11, 2012 Share Posted February 11, 2012 i know the problem. maybe a lost file. you restore files too? Link to comment Share on other sites More sharing options...
Recommended Posts