Forums / Templates, Stylesheets, Page Layout / Admin has locked me out

Admin has locked me out

Locked

Views: 1,593

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
6 Nov 2007, 1:50 AM
#1
tereadia avatar

tereadia

New Zenner

Join Date:
Feb 2007
Posts:
39
Plugin Contributions:
0

Admin has locked me out

So I wanted to make an exact replica of my zen cart store on another domain name. I exported my database and imported it into a new one. I copied all the files and pasted them into a folder under my new domain name and changed my config files accordingly. Everything works perfectly on both sites...except the admin on the new site. It won't let me log in with the username and password of the original store. I tried "Resend Password", also no luck.

I followed the instructions here: https://www.zen-cart.com/tutorials/index.php?article=2

and reset my admin username and password to Admin and admin accordingly. Still everytime I try to login the page just refreshes. There's no error message or "You entered the wrong username or password" What's funny is that I have never received that error message from this new site. Is there a way to reset the admin login or get it to acknowledge that I'm typing a username and password in it?

Any help you can offer would be appreciated! THANKS!

6 Nov 2007, 4:18 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin has locked me out

Close all browser windows and clear cache and cookies ...

Do the reset to Admin admin for your Admin Login as we don't really know where you are on this at this point ...

Now try to login ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

6 Nov 2007, 1:16 PM
#3
tereadia avatar

tereadia

New Zenner

Join Date:
Feb 2007
Posts:
39
Plugin Contributions:
0

Re: Admin has locked me out

Hi,

Thanks for your reply. Unfortunately, I tried that and no luck. I even went onto a different computer and tried to login.

What's funny about this particular shop is that I type in a username and password on the admin side and at the bottom of the screen it shows that it's processing but then I don't receive an error message like I get on my other zen-cart store, " You entered the wrong username or password." Which makes me think that this new store just isn't quite processing the admin side properly or just refusing to acknowledge that I've typed anything in those boxes.

Any other ideas? Or do I need to start from scratch with a new upload? I was hoping to just copy and paste so I wouldn't have to re-upload everything and re-customize as much.
THanks again for any help you can offer! =)

6 Nov 2007, 4:38 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Admin has locked me out

I would look at your two configure.php files:
/includes/configure.php
/admin/includes/configure.php

and make sure that you have the same paths, database and username and password set for these ...

Go to phpMyAdmin for your site and locate your database and reset it to the defaults:

First run this to remove and reset the structure:

DROP TABLE IF EXISTS admin;
CREATE TABLE admin (
  admin_id int(11) NOT NULL auto_increment,
  admin_name varchar(32) NOT NULL default '',
  admin_email varchar(96) NOT NULL default '',
  admin_pass varchar(40) NOT NULL default '',
  admin_level tinyint(1) NOT NULL default '1',
  PRIMARY KEY  (admin_id),
  KEY idx_admin_name_zen (admin_name)
) TYPE=MyISAM;

Next run this to set the login to Admin admin:

INSERT INTO admin VALUES (1, 'Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);

WARNING: be sure to reset the Admin login as soon as you have access for the Admin password and email address ...

NOTE: if you are using prefixes on your database tables, as in your database table for admin reads: something_admin

then you will need to adjust the information above to address the proper database table name ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

7 Nov 2007, 7:49 PM
#5
tereadia avatar

tereadia

New Zenner

Join Date:
Feb 2007
Posts:
39
Plugin Contributions:
0

Re: Admin has locked me out

Thanks for all your help! :laugh: