Page 9 of 10 FirstFirst ... 78910 LastLast
Results 81 to 90 of 100
  1. #81
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Can't log into admin

    I am not sure why you would get that error as the first drops the table and rebuilds it and the second adds the login ...

    NOTE: make sure that you are not using prefixes on your database table names ... if you are, you will see it referenced in your two configure.php ...
    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: v1.5.5]
    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!

  2. #82
    Join Date
    Oct 2006
    Location
    At Home
    Posts
    370
    Plugin Contributions
    0

    Default Re: Can't log into admin

    [FONT=Verdana]I just reset my hosting account and install new zen cart. After the installation I have uploaded the backup files/folders (+mysql database) to the new zen cart directory except the 2 configure.php files (to prevent from being overwritten).

    The website was fine but I can't login to the admin. I enter my new username & password. But it keeps saying 'You entered the wrong username or password'. Anyone know what cause the problem? Is there any file I shouldn't overwrite?
    [/FONT]

  3. #83
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Can't log into admin

    Use the post above that I made for recreating the table and inserting the default login ...

    Once you are logged in, then change the Admin login and password to your own ...
    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: v1.5.5]
    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!

  4. #84
    Join Date
    Oct 2006
    Location
    At Home
    Posts
    370
    Plugin Contributions
    0

    Default Re: Can't log into admin

    I tried the post above but it still says 'You entered the wrong username or password'.

    Admin Username:Admin
    Admin Password: admin

  5. #85
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Can't log into admin

    Can you check the file, on the server, for:
    /admin/includes/configure.php

    Make sure you are using the right database ...

    Make sure that if you are using a prefix on your database tables that you alter the SQL statements to include those on the database ...
    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: v1.5.5]
    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. #86
    Join Date
    Oct 2006
    Location
    At Home
    Posts
    370
    Plugin Contributions
    0

    Default Re: Can't log into admin

    Is this what you meant by prefix?

    PHP Code:
    define('DB_PREFIX''zen_'); 
    How should I alter the SQL statements?

  7. #87
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Can't log into admin

    Code:
    DROP TABLE IF EXISTS YOURPREFIXHERE_admin;
    CREATE TABLE YOURPREFIXHERE_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;
    Code:
    INSERT INTO YOURPREFIXHERE_admin VALUES (1, 'Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);
    NOTE: the prefix is case sensative

    Also, if you see both a table called:
    admin
    zen_admin

    And you are using the prefix on your database tables, as in all start with YOURPREFIXHERE_, then the admin table should not be there ...
    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: v1.5.5]
    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!

  8. #88
    Join Date
    Oct 2006
    Location
    At Home
    Posts
    370
    Plugin Contributions
    0

    Default Re: Can't log into admin

    Finally! Thank you Ajeh.

  9. #89
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Can't log into admin

    You are most welcome ...

    Thanks for the update that you are using table prefixes on your database and needed to update your admin table using the table prefix in the SQL statements ...
    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: v1.5.5]
    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!

  10. #90
    Join Date
    May 2009
    Posts
    15
    Plugin Contributions
    0

    Default Re: Can't log into admin

    Hi,

    I thought did the rest but I think I dropped the zn_admin...before running the script or something...
    when I try to log in I get:
    zc_admin' doesn't exist

    Can I rebuild it?

    Lasa

 

 
Page 9 of 10 FirstFirst ... 78910 LastLast

Similar Threads

  1. v139h Can't log into Admin
    By agile4 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 20 Feb 2013, 08:16 AM
  2. I can't log into admin
    By drunkglitch in forum General Questions
    Replies: 7
    Last Post: 17 May 2012, 04:02 PM
  3. Can't log into admin
    By outlines in forum General Questions
    Replies: 3
    Last Post: 26 Oct 2011, 01:04 AM
  4. Can't log into admin
    By sinecurea in forum General Questions
    Replies: 0
    Last Post: 13 Feb 2008, 04:59 PM
  5. Can't log into admin
    By evillure in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 15 Jun 2006, 08:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR