Forums / Customization from the Admin / Not able to log in to admin

Not able to log in to admin

Locked

Started by wikolia_net on 18 Oct 2008, 7:48 PM · Views: 1,197

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
18 Oct 2008, 7:48 PM
#1
wikolia_net avatar

wikolia_net

New Zenner

Join Date:
Oct 2008
Posts:
3
Plugin Contributions:
0

Not able to log in to admin

Hi,

Im having trouble logging into admin for my shop.

It seems to recognise the login details, because it just clears the fields and does nothing. But if I enter the incorrect details, it comes up with a message that the information entered is incorrect :ohmy:

I have tried to resend my login information and no email is being received.

I then tried the SQL query to create a new admin account for Admin admin using PHPmyAdmin, which runs correctly, but this wont let me log in either!!

I have no idea whats going on!

Can someone help please

18 Oct 2008, 11:36 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: Not able to log in to admin

Does the Catalog work?

Can you login to the Catalog?

For the Admin ...

Check that you are using the same database by comparing the two files on the server:
/includes/configure.php
/admin/includes/configure.php

Next, via phpMyAdmin, look at the admin table and browse it ... do you see your login and email address in it?

NOTE: watch for if you are using a prefix on your database tables such as:
zen_

If you have both a table called:
admin
zen_admin

or whatever the prefix is, this could be the problem ...

NOTE: the prefix would be referenced in the configure.php files ...

Next, to reset the admin table to the default, you can use:

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),
  KEY idx_admin_email_zen (admin_email)
) ENGINE=MyISAM;

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

This will make the login:
Admin
admin

Next, go to your Zen Cart Admin and login ...

Now go to the Tools ... Admin Settings ... and edit this for your password and email address ...

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!