Can't log into admin panel
Hi...I have not been to my admin panel in a few days...today I tried to get in...and it will not take my information.
I know it is correct because it is the same I use on all my zen carts.
Also the email addy I put in to have it reset, states it is not correct.
Is there a way I can find out what is going on?
Thanks so much,
Robin
Re: Can't log into admin panel
Try #2 here:
https://www.zen-cart.com/tutorials/index.php?article=2
It's possible you've been hacked, so check your site when you gat in.
Re: Can't log into admin panel
Thanks, will give it a try. If I have been hacked, does this mean I have to build my site over again? And no, I did not save my site. Def a lesson learned.
Thanks,
Robin
Re: Can't log into admin panel
I am into the php admin....pasted this:
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);
But what does this mean below??
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 ...".
Re: Can't log into admin panel
In phpAdmin if you look at the left-hand side you will see the names of your Tables. Look to see if the names start with 'zen_' for example; as that would be the prefix.
Whatever the prefix is would need to be added.
DELETE FROM zen_admin WHERE admin_name = 'Admin';
INSERT INTO zen_admin (...
Also you can visually see what Admin names are in your Zen Cart so check to make sure if there are ones that shouldn't be there.
Re: Can't log into admin panel
Don't mean to be a pain. I inserted the following and it stated it was run successful.
DELETE FROM zen_admin WHERE admin_name = 'Admin';# MySQL returned an empty result set (i.e. zero rows).
INSERT INTO zen_admin( admin_name, admin_email, admin_pass, admin_level )
VALUES (
'Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1
);# 1 row(s) affected.
I went to my admin panel to enter:
Admin
admin
But it will not let me use an uppcase A..it changes it to lowercase.
Do you think I have been hacked? If so, what do I need to do?
Thanks for all the help.
Robin
Re: Can't log into admin panel
Have you tried a different Browser?
Also, in phpMyAdmin does it show the "Admin" login as using a capital "A"? In other words, if you login using lower case do you get an error msg.?
Re: Can't log into admin panel
Using a different browser worked! Wow...thank you soooo much. :clap:Time to back up and change my passcode.
You guys rock.
Hugz
Robin