To reset admin password for prestashop 1.6 or below, find value of _COOKIE_KEY from file
config/settings.inc.php
The line look like
define('_COOKIE_KEY_', 'AySbNFrmveDOXDnEwiAEGxWAOYbckI1Vx2hDpu1JwgNFj19bPUyi6HBc');
Now you need to update ps_employee table using following SQL command.
update ps_employee set passwd=md5("AySbNFrmveDOXDnEwiAEGxWAOYbckI1Vx2hDpu1JwgNFj19bPUyi6HBcYOUR_NEW_PASSOWRD_HERE") where id_employee=1;
Replace “YOUR_NEW_PASSOWRD_HERE” with your new password.
ps_employee maybe differnt depending on what table prefix you selected during prestashop installation.
id_employee=1, change this with id_employee of the user you need to change password. 1 is id for first user.
Once password reset, you will be able to login to admin area. Normally prestashop rename admin folder to random name, this you can find it in FTP as it is just a normal folder.
Leave a Reply