Reset Lost Admin Password
There is nothing more frustrating that trying to log into your website - only to find out that you have either lost / forgotten your admin password - or something on the server has changed which has made your password not work. If this happens to you....
First, click on the Lost Password link where you log in. If all is working properly, the cart should send you a password. However, some times things can go awry and even that new password will not work. In that case, you will need to log into your hosting control panel, go to the PHPMyadmin for your mysql database, click on the SQL tab and enter the following in the query box:
(for 1.3.X series)
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);
(for 1.5x series)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);
( NOTE: if your admin table is zen_admin, make the appropriate changes in the code above eg: DELETE FROM zen_admin.... and INSERT INTO zen_admin)
Then you will be able to go back to your admin login page, type Admin (uppercase A) for the login and admin (lowercase a) for the password and it will take you into your zencart admin area.
Once there, click on TOOLS > ADMIN SETTINGS and create a new admin login or revise the old one that you had before by changing the password. Be sure to delete the one generated by the code above.