Forums / Basic Configuration / Can't log into my admin page

Can't log into my admin page

Locked

Views: 1,082

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
16 Jan 2010, 1:21 AM
#1
elvisstuff avatar

elvisstuff

New Zenner

Join Date:
Jan 2010
Posts:
33
Plugin Contributions:
0

Can't log into my admin page

I've been experiencing a few problems with the admin of my site and each time I try to correct something I make things worse.

Initially I had a problem with the database saying an extra column had been added to one of the tables and was unrecognised. So I deleted the database and reinstalled it from a backup. This seems to be running fine from the front end but the problem I have now is that I can't log into my admin page at all. Each time I try to log in the page resets itself (wipes all the fields clear and looks like it's just been loaded), unless I use a username or password that it doesn't recognise in which case I get a message saying that the username or password is not recognised.

I clicked the link for a new password which I tried (several times) but the page just reloads blank.

Hunting around this forum I came across the following code to reset both user name and password:

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 I get the same result - the page just resets itself.

As I can't get into the admin page I'm not sure which version of Zen cart I'm running but I believe it's the latest one. I have the Cherry Zen override running - in case that makes a difference.

Anyone any suggestions as to what I do next?

Any help would be appreciated.

16 Jan 2010, 7:41 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Can't log into my admin page

Only you know if you have added any 3rd party modules that added/over wrote any admin files...

Use FTP to look at you english.php file for byte size and if it is 38,000 plus you are most likely running 1.3.8a
Grab a fresh distribution and re-FTP the complete admin folder & all files - See if this corrects it...

Can also review the similar posts at the bottem of this page

Zen-Venom Get Bitten

16 Jan 2010, 7:31 PM
#3
elvisstuff avatar

elvisstuff

New Zenner

Join Date:
Jan 2010
Posts:
33
Plugin Contributions:
0

Re: Can't log into my admin page

Thanks Kobra. I reinstalled my admin folder and got my access back. I gotta admit I panicked a bit there. I tried all the other solutions I could find on here and nothing worked. Never thought to try the simple stuff like overwriting the folder.
Cheers
:clap: