Forums / Basic Configuration / Cannot login into admin today

Cannot login into admin today

Started by maynards on 13 Mar 2011, 1:32 PM · Views: 1,072

Results 1 to 9 of 9
13 Mar 2011, 1:32 PM
#1
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Cannot login into admin today

For some reason I cannot login to my admin panel today. When I try to login It say's: You entered the wrong username or password.
I check both my configuration files and they seem to be correct.
I tried the Resend password and used the new temp. password but it just goes back and say's: You entered the wrong username or password.

Any idea's what to do?

13 Mar 2011, 1:48 PM
#2
stevesh avatar

stevesh

Black Belt

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

Re: Cannot login into admin today

Try this:

https://www.zen-cart.com/tutorials/index.php?article=2

Once you're in (or before, if you can access the site by FTP), check your files - you may have been hacked.

13 Mar 2011, 2:01 PM
#3
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Re: Cannot login into admin today

Thanks for the response Stevesh

I am a bit unsure of the process which you refer to in the sql.

I use zen_ as a prefex, so how should it look in the code below before I run it?

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);

13 Mar 2011, 5:21 PM
#4
albert7 avatar

albert7

New Zenner

Join Date:
Oct 2009
Posts:
19
Plugin Contributions:
0

Re: Cannot login into admin today

[QUOTE=Maynards;1006497]For some reason I cannot login to my admin panel today. When I try to login It say's: You entered the wrong username or password.
I check both my configuration files and they seem to be correct.
I tried the Resend password and used the new temp. password but it just goes back and say's: You entered the wrong username or password.

I am having the same problem today. I can not log into my admin panel . It is giving me an error message:

Parse error: syntax error, unexpected '>' in /home/....../public_html/orderonline/admin/index.php on line 36

I have gone to the file to have a look, but can not see anything. If I have been hacked what can I do to correct this?

13 Mar 2011, 7:43 PM
#5
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Re: Cannot login into admin today

Anyone with any ideas on my problem with logging into admin?

If I ran the zc_install again, would that fix this problem?

13 Mar 2011, 8:48 PM
#6
usr50 avatar

usr50

Zen Follower

Join Date:
Mar 2009
Location:
Niagara Ontario
Posts:
136
Plugin Contributions:
0

Re: Cannot login into admin today

try clearing browser cookies , cache etc.

13 Mar 2011, 9:30 PM
#7
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Re: Cannot login into admin today

That was the first thing I tried.

13 Mar 2011, 10:13 PM
#8
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,718
Plugin Contributions:
0

Re: Cannot login into admin today

What version of Zen Cart are you using?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

14 Mar 2011, 1:39 PM
#9
maynards avatar

maynards

Zen Follower

Join Date:
Feb 2010
Location:
Minnesota
Posts:
392
Plugin Contributions:
0

Re: Cannot login into admin today

Thanks for the people who tried to help. I've got it fixed.

In Stevesh's email he pointed out the tutorial:
https://www.zen-cart.com/tutorials/index.php?article=2 This tutorial worked, it just took me a long time to figure out exactly where to put the prefix of my DB files. I am sure that if I had a lot more knowledge in this stuff like most people It would have been taken care of in minutes.

Prefix went where you see the ???_

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);

I feel kind of dumb for having taken so much time to figure it out.