admin login stopped working
My login stopped working and the reset password function does nothing. It does NOT send an email with reset instructions. I setup a new user in my hosting control panel and still nothing. The hosting company says they dont have a clue because they use wordpress
Re: admin login stopped working
You're missing a couple of things in your post that will help us help you:
- Your Zen Cart version
- The PHP version on which your site runs. Since you can't see the admin, you can most likely see that version setting in your webhost's cPanel's "Multiple PHP Version Manager".
- Have you checked your site's email settings? See https://mxtoolbox.com/
- Are there any PHP logs in the site's /logs directory? You can view that directory via an FTP-access or via the cPanel "File Manager".
Re: admin login stopped working
I'm guessing you had multiple failed login attempts and your IP is now blocked. Even the reset password doesn't work if that's the case.
If you're comfortable using phpMyAdmin, the fix is stupid-simple. I'll assume you're not using any of the ancient Zen Cart versions.
Go to your hosting cPanel and go to phpMyAdmin. Open your database in phpMyAdmin on the left hand side, browse the "admin" table (could be zen_admin, zc_admin or any prefix you may have), find the user and click edit. Set the admin_pass to "351683ea4e19efe34874b501fdbf9792:9b" (without quotation marks), clear all prev_passX fields, clear reset_token, set failed_logins to 0, lockout_expires to 0 and clear last_failed_ip, and finally click Go.
Your new password is admin so as soon as you log in, go and change it from the admin.
Re: admin login stopped working
I owe this man a beer!
FIXED
balihr
Re: admin login stopped working
I'm guessing you had multiple failed login attempts and your IP is now blocked. Even the reset password doesn't work if that's the case.
If you're comfortable using phpMyAdmin, the fix is stupid-simple. I'll assume you're not using any of the ancient Zen Cart versions.
Go to your hosting cPanel and go to phpMyAdmin. Open your database in phpMyAdmin on the left hand side, browse the "admin" table (could be zen_admin, zc_admin or any prefix you may have), find the user and click edit. Set the admin_pass to "351683ea4e19efe34874b501fdbf9792:9b" (without quotation marks), clear all prev_passX fields, clear reset_token, set failed_logins to 0, lockout_expires to 0 and clear last_failed_ip, and finally click Go.
Your new password is admin so as soon as you log in, go and change it from the admin.
Re: admin login stopped working
Quote:
Originally Posted by
balihr
I'm guessing you had multiple failed login attempts and your IP is now blocked. Even the reset password doesn't work if that's the case.
If you're comfortable using phpMyAdmin, the fix is stupid-simple. I'll assume you're not using any of the ancient Zen Cart versions.
Go to your hosting cPanel and go to phpMyAdmin. Open your database in phpMyAdmin on the left hand side, browse the "admin" table (could be zen_admin, zc_admin or any prefix you may have), find the user and click edit. Set the admin_pass to "351683ea4e19efe34874b501fdbf9792:9b" (without quotation marks), clear all prev_passX fields, clear reset_token, set failed_logins to 0, lockout_expires to 0 and clear last_failed_ip, and finally click Go.
Your new password is admin so as soon as you log in, go and change it from the admin.
I'm having the same problem and that fix isn't working. Any other ideas?
Also I'm not getting emails to reset password.
Carol
Re: admin login stopped working
Carol, have you tried these instructions (#5 particularly)
https://docs.zen-cart.com/user/troub...dmin_password/
Re: admin login stopped working
What worked was using the sql query mentioned to get a login with admin for user name and admin for password. changed that after I was able to log in,
Thanks
Re: admin login stopped working