InMotion Hosting Support Center

Deprecated Settings File

There are multiple ways to reset the admin password for PrestaShop. One particular method described in our article "355: How to Reset the PrestaShop Administrator Password" is no longer feasible if you are running version 1.7. This is due to the fact that PrestaShop has deprecated the config/ file. This file was necessary to retrieve the COOKIE_KEY required for resetting the admin password. The file may still exist, however, this screen shot shows the deprecated version's content:

Deprecated Content

As you can see, the file no longer contains the data needed to follow the old method. However, the following steps can be taken to reset the admin password.

Reset the Admin Password for PrestaShop 1.7

  1. First, navigate to your PrestaShop's Front Officelogin page.
  2. Click on the "Sign In" link, located in the upper right-hand corner.
  3. Click on the "No account? Create one here" link.
  4. After you will in the required fields (first name, last name, email, and password), click SAVE. Be sure to make note of the password you are using, you will end up using this password to login as the admin.
  5. Open up phpMyAdmin and navigate to the database for your Prestashop installation.
  6. Open the ps_customer table and look for the user you just created.
  7. Copy the password field.
  8. Open the ps_employee table and look for your admin user.
  9. Paste the password you copied from the ps_customer table into the password field of the ps_employee for your admin user.
  10. Click Go to save your changes.
  11. Navigate to your PrestaShop admin login URL. Test your login to confirm the email address and password are combination work.
Was this article helpful?
Continued Education in Course PrestaShop 1.7
You are viewing Section 10: How to Change the Admin Password in Prestashop 1.7
Section 9: Change your Favicon in PrestaShop 1.7

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

n/a Points
2018-10-27 7:17 am

Simple and works this method!

n/a Points
2018-04-20 3:38 am

Thank you! It worked! For the people who are having issues please check your presta shop version. If it is below 1.7 you must use another method.

n/a Points
2018-04-05 3:44 pm
So thanks, Great it is working!!
n/a Points
2018-01-18 1:48 pm

It's Worked ! Great - Thanks

n/a Points
2017-11-06 5:21 am

Hi there!

The idea is right and should work in principle. Previous commentors failed because some special characters have likely been lost during the copy-paste process. What one should do is rather use command line to do this action.

Something like :

update ps_employee a, ps_customer c set a.passwd = c.passwd where a.id_employee={AdminIdYouWannaChange} and c.id_customer = {CustomerYouJustCreated};Hope it'll help someone
n/a Points
2017-10-26 3:46 pm

did't work!. I have prestashop_1.7.2.4. I copied the password string from a new user who is not an administrator, but is a customer type. Maybe this is the problem!

31,313 Points
2017-10-26 4:11 pm
You can also try changing the admin email in the database table, then request a password reset email.

Thank you,
n/a Points
2017-10-25 5:21 pm

did't work!

3,017 Points
2017-10-25 8:30 pm
I'm sorry to see this didn't work for you. Which version of Prestashop are you currently running? Were there any errors along the way that can help in trouble shooting the issue further?

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

9 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!