Zen Cart Logo
Forums / Basic Configuration / admin login stopped working

admin login stopped working

Views: 3,679

Results 1 to 8 of 8
1 Feb 2023, 10:55 PM
#1
johnniejetski2 avatar

johnniejetski2

New Zenner

Join Date:
Dec 2017
Location:
FLAH-DUH
Posts:
45
Plugin Contributions:
0

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

1 Feb 2023, 11:04 PM
#2
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,085
Plugin Contributions:
56

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".
2 Feb 2023, 12:57 AM
#3
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,782
Plugin Contributions:
21

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.

2 Feb 2023, 1:07 AM
#4
johnniejetski2 avatar

johnniejetski2

New Zenner

Join Date:
Dec 2017
Location:
FLAH-DUH
Posts:
45
Plugin Contributions:
0

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.

12 Mar 2023, 9:37 PM
#5
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

Re: admin login stopped working

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

15 Mar 2023, 5:43 PM
#7
spminis avatar

spminis

Zen Follower

Join Date:
Feb 2015
Location:
USA
Posts:
194
Plugin Contributions:
0

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

15 Mar 2023, 7:11 PM
#8
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,693
Plugin Contributions:
56

Re: admin login stopped working

Great TY for confirming.