Forums / General Questions / Unable to Reset Admin Login to default

Unable to Reset Admin Login to default

Locked

Views: 1,964

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
20 Jan 2007, 7:40 PM
#1
aldebaran avatar

aldebaran

New Zenner

Join Date:
Jan 2007
Posts:
4
Plugin Contributions:
0

Unable to Reset Admin Login to default

Hi,
My admin logon strangely failed today and I've followed instructions:
DROP TABLE IF EXISTS zen_admin;
CREATE TABLE zen_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;

and

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

And logged into PHPMyAdmin, and can clearly see that this has been reset in the correct table. I've verified that the table prefix is correctly set in admin/includes/configure.php And still it doesn't reset the admin logon. I am getting no error messages, I just get nothing but the same logon screen over and over again.

The only thing that changed recently is I added SSL certificate and made appropriate changes to config files.

Help, I'm stuck!
Jill

20 Jan 2007, 7:49 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Unable to Reset Admin Login to default

If it's not giving you a "bad login" notice (ie: just goes back to the login page without any explanation), then the login details aren't wrong ... something else is.

If you disable the SSL you'll likely find that it works properly.

Thus, the inability to log in could be caused by any of:

  • bad SSL implementation on the server (ie: certificate didn't install completely)
  • confused cookies in your browser (try flushing cookies and cache, temporary internet files)
  • firewall or content-blocking software on your PC which doesn't like the domain of the SSL URL, or is simply blocking cookies carte blanche.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

20 Jan 2007, 9:23 PM
#3
aldebaran avatar

aldebaran

New Zenner

Join Date:
Jan 2007
Posts:
4
Plugin Contributions:
0

Re: Unable to Reset Admin Login to default

Thank you very much for the help. Pointing me in the direction of the SSL related changes was the right direction.