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

Jump to content

Photo

[Solved] Changed Server - Cant login!!!

#1

Posted 30 June 2009 - 03:29 PM

mrpatg

    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!

#2

Posted 30 June 2009 - 04:06 PM

Patric

    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 :
zhNXco9AkmOMkXSA1UJvRLT0oy1K0bImRwhAjXHdIVexfO18ZyFzwsLL
* Go to http://www.md5.fr/
* In the field, paste the cookie key and type IMMEDIATELY after, without space, your password, for example :
zhNXco9AkmOMkXSA1UJvRLT0oy1K0bImRwhAjXHdIVexfO18ZyFzwsLLadminshop
* 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

#3

Posted 30 June 2009 - 04:15 PM

mrpatg

    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?

#4

Posted 30 June 2009 - 04:19 PM

mrpatg

    PrestaShop Newbie

  • Members
  • Pip
  • 3 Active Posts
OK
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

#5

Posted 30 June 2009 - 04:22 PM

mrpatg

    PrestaShop Newbie

  • Members
  • Pip
  • 3 Active Posts
----PROBLEM SOLVED----
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

#6

Posted 27 November 2010 - 05:35 PM

seldon.paul2

    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