[Solved] Changed Server - Cant login!!! - Online sales and SEO - PrestaShop

Jump to content


[Solved] Changed Server - Cant login!!!


Posted 30 June 2009 - 03:29 PM


    PrestaShop Newbie

  • Members
  • Pip
  • 3 Active Posts
I just recently changed web servers and moved the store along with it. The store works fine and even is taking orders, but I CANT LOGIN TO ADMIN!!!!

I went into the database and found that the admin password is md5 encoded and from looking around at the files is a combination of my COOKIE_KEY and PWD.

I tried creating a new admin. Recover lost pass says its sending me mail, but it never sends. What can i do to reset-recover-re-add an admin account to my store PLEASE HELP!


Posted 30 June 2009 - 04:06 PM


    PrestaShop Legend

  • Members
  • PipPipPipPipPipPip
  • 10379 Active Posts
How did you regenerate your MD5 hash ?

* Copy your cookie key from /config/settings.inc.php, for example :
* Go to http://www.md5.fr/
* In the field, paste the cookie key and type IMMEDIATELY after, without space, your password, for example :
* Generate the MD5 hash.
* Copy it.
* Paste it in the passwd field of the ps_employee table, for your admin user.
Patric CodronAncien Community Manager chez PrestaShop | Former PrestaShop Community Manager
Animateur de Prestaddicts, la Communauté des utilisateurs francophones de PrestaShop !

Image IPB


Posted 30 June 2009 - 04:15 PM


    PrestaShop Newbie

  • Members
  • Pip
  • 3 Active Posts
I dont know where to get my cookie key?

I hope that its not generated from a cookie stored on my computer, as i clear them after every browser useage.

Is it stored somewhere in the database? or in a config file?


Posted 30 June 2009 - 04:19 PM


    PrestaShop Newbie

  • Members
  • Pip
  • 3 Active Posts
found my cookie key located in my settings.inc.php file

encoded it just like you instructed
pasted the hash into the database for my employee record, and still cannot login


Posted 30 June 2009 - 04:22 PM


    PrestaShop Newbie

  • Members
  • Pip
  • 3 Active Posts
I changed the value of cookie key in settings.inc.php to nothing.
Then encoded just my password at http://www.md5.fr/
Then i took the hash code and inserted it into the employee record in the database
i was then able to login using my email and password


Posted 27 November 2010 - 05:35 PM


    PrestaShop Apprentice

  • Members
  • PipPip
  • 49 Active Posts
Since it is out of localhost, actually on the real server, it is better for you to try, "Lost Password?" in the login webpage.
It was fantastic!

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cookies help us deliver our services. By using our services, you agree to use our cookies.     Learn more