Tuesday, December 24, 2013

How to reset admin panel login details in ZenCart

In this tutorial you will learn how to change or reset your Admin Password.


1. Log in with another account.


If you can log in to your Zen Cart admin using another account, please do so, and reset/modify the other admin password as needed via Admin->Tools->Admin Settings


2. Delete the old user and add a new one.


If you can’t remember your admin account or password, the first thing you can try is to click the “Resend Password” button and enter the admin email address.


reset_admin_password_zencart_1


If for some reason that doesn’t work for you, you can create a temporary admin account in order to log in.


Open your phpMyAdmin (supplied by your hosting company), select your store’s database, then click the “SQL” tab and run this query:


reset_admin_password_zencart_2


In v1.5.0 and newer, please use the following query:


DELETE FROM admin WHERE admin_name = 'Admin';
INSERT INTO admin (admin_name, admin_email, admin_pass, admin_profile)
VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);

In v1.3.9 and older, please use the following query:


DELETE FROM admin WHERE admin_name = 'Admin'; 
INSERT INTO admin (admin_name, admin_email, admin_pass, admin_level)
VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);

NOTE:If you are using a prefix for your database tables, you’ll naturally need to add that prefix to the table name above:


ie. “… FROM/INTO prefix_admin …”.


You can now login using the following details:


Username: Admin

Password: admin


Make sure to use proper case. ie. Admin for username, not admin.


reset_admin_password_zencart_3


In v1.5.0 and newer, you will be prompted to change the password right away.


After you log in, please remember to delete this temporary admin account after creating a new one.


In v1.5.0 you’ll do that under the Admin Access Management tab.


In v1.3.x and older, you’ll find it under the Tools->Admin Settings option.



How to reset admin panel login details in ZenCart

No comments:

Post a Comment