Zen Cart Logo
Forums / General Questions / Can't log into admin panel

Can't log into admin panel

Locked

Views: 1,517

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
27 Feb 2010, 9:30 PM
#1
vintage avatar

vintage

New Zenner

Join Date:
Jun 2009
Posts:
16
Plugin Contributions:
0

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

28 Feb 2010, 1:17 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

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.

28 Feb 2010, 1:43 AM
#3
vintage avatar

vintage

New Zenner

Join Date:
Jun 2009
Posts:
16
Plugin Contributions:
0

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

28 Feb 2010, 1:51 AM
#4
vintage avatar

vintage

New Zenner

Join Date:
Jun 2009
Posts:
16
Plugin Contributions:
0

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 ...".

28 Feb 2010, 2:06 AM
#5
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

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.

28 Feb 2010, 2:53 AM
#6
vintage avatar

vintage

New Zenner

Join Date:
Jun 2009
Posts:
16
Plugin Contributions:
0

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

28 Feb 2010, 5:42 AM
#7
website_rob avatar

website_rob

Inactive

Join Date:
Oct 2006
Location:
Alberta, Canada
Posts:
4,572
Plugin Contributions:
0

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.?

28 Feb 2010, 1:11 PM
#8
vintage avatar

vintage

New Zenner

Join Date:
Jun 2009
Posts:
16
Plugin Contributions:
0

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