Results 1 to 10 of 10
  1. #1
    Join Date
    Aug 2008
    Posts
    6
    Plugin Contributions
    0

    Default Admin Password Not Resetting

    Hi,

    I have been through a number of threads on the forum, but I have not been able to find a solution to my problem.

    I couldn't remember my admin password, so I clicked resend password. I received a password by email, but this did not work.

    I have deleted the admin table and added another user as per the instructions on the Wiki page, but this does not work.

    I have no prefix on my tables.

    When an incorrect username and password is specified, a message is returned stating that is the case. When what should be the correct username and password is used, the page just reloads asking for the username and password.

    Any ideas as to what I can do to sort this?

    Thanks.

  2. #2
    Join Date
    Dec 2007
    Location
    Southern Maine
    Posts
    281
    Plugin Contributions
    0

    Default Re: Admin Password Not Resetting

    Try this FAQ: https://www.zen-cart.com/tutorials/index.php?article=2

    When it says your username is admin and password is admin, that is EXACTLY what it means. remember to type them correctly.

  3. #3
    Join Date
    Aug 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Admin Password Not Resetting

    I have tried this several times, and I am still unable to login.

    Could it have anything to do with the hosting?

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

    Default Re: Admin Password Not Resetting

    You could rebuild the Admin table with the default settings via phpMyAdmin ...

    First run this to remove and reset the structure:
    Code:
    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:
    Code:
    INSERT INTO admin VALUES (1, 'Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);
    NOTE: this will remove all existing Admin logins in the admin table, both good and bad ...

    Remember, the Login is now:
    Admin
    admin

    WARNING: be sure to reset the Admin login as soon as you have access for the Admin 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!

  5. #5
    Join Date
    Aug 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Admin Password Not Resetting

    I have tried this several times without success.

    I have completely removed the admin table and rebuilt it using the above sql and then created the admin account again.

    If I use "Admin" and "admin" the page reloads, if I use anything else I get the message that the username and password is not correct.

  6. #6
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Admin Password Not Resetting

    What version of Zen Cart are you using?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  7. #7
    Join Date
    Aug 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Admin Password Not Resetting

    I am using version 1.3.5.

  8. #8
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: Admin Password Not Resetting

    Has your host recently made any changes to your server?

    (Sounds like you may need to upgrade)
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  9. #9
    Join Date
    Aug 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Admin Password Not Resetting

    Not sure, will contact the host and ask them if they know anything about it.

  10. #10
    Join Date
    Aug 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Admin Password Not Resetting

    My host said my sessions.php file was out of date, and this was causing the problem. All sorted now.

 

 

Similar Threads

  1. v155 resetting admin password fail
    By soxophoneplayer in forum General Questions
    Replies: 4
    Last Post: 11 May 2016, 08:33 PM
  2. v139d Cannot access admin after resetting password
    By chowardart in forum Basic Configuration
    Replies: 1
    Last Post: 22 Oct 2015, 11:47 PM
  3. Resetting Admin password
    By valansi in forum General Questions
    Replies: 1
    Last Post: 1 Apr 2012, 03:38 AM
  4. Admin menu bar disappeared after resetting Admin password
    By stxmona in forum General Questions
    Replies: 7
    Last Post: 10 Sep 2009, 01:16 AM
  5. Admin Password not working, even tried resetting
    By Raichumaximus in forum General Questions
    Replies: 8
    Last Post: 12 Oct 2007, 12:43 PM

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