Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    Apr 2009
    Posts
    11
    Plugin Contributions
    0

    Default Can't login or reset password

    I've been searching for awhile, and maybe missing something easy but I can't login or reset my password and not sure where to look.

    Tried e-mailing it, didn't work.

    Logged into mysql and ran this code (I have 1.3 and the configure.php shows "define('DB_PREFIX', 'store');" as a prefix):

    DELETE FROM store_admin WHERE admin_name = 'Admin';
    INSERT INTO store_admin (admin_name, admin_email, admin_pass, admin_level)
    VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 1);

    The response I keep getting is this:

    SQL query:

    DELETE FROM store_admin WHERE admin_name = 'Admin';

    MySQL said: Documentation
    #1146 - Table 'hailivestore.store_admin' doesn't exist

    Any thoughts what to try next? Thanks again for the help in advance!

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: Can't login or reset password

    Did you see this in the tutorial?

    NOTE: If you are using a prefix for your database tables, you'll naturally need to add that prefix to the table name above.
    ie. "DELETE FROM prefix_admin ... " and "INSERT INTO prefix_admin ..." ... replacing "prefix_" with your actual tablename prefix.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Can't login or reset password

    @stevesh, he already posted that he used 'store_' as the prefix.


    @1Mweeks: However, the error is that DB_PREFIX is 'store', not 'store_' ... so the tablename shouldn't be 'store_admin'; it should be 'storeadmin'.
    .

    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.

  4. #4
    Join Date
    Sep 2011
    Posts
    19
    Plugin Contributions
    0

    Default Re: Can't login or reset password

    I apologize if this is not supposed to be here, but I am having the same problem. This is the first issue I have ever had losing a password, but I tried to log in and the password was incorrect. I of course tried every variation I have ever thought of, and then tried the 'forgot password' link. The email never came to any of my inboxes, and I even got a green text reading that it was sent. I have found in the 'configure' php the username and password for the DB but this is for the database, not the admin panel. I cannot figure out how to reset this or get into my admin website, can anyone please help me with this issue at least with something to try? Thank you. I am using version 1.5

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Can't login or reset password

    Quote Originally Posted by tmacarle View Post
    I apologize if this is not supposed to be here, but I am having the same problem. This is the first issue I have ever had losing a password, but I tried to log in and the password was incorrect. I of course tried every variation I have ever thought of, and then tried the 'forgot password' link. The email never came to any of my inboxes, and I even got a green text reading that it was sent. I have found in the 'configure' php the username and password for the DB but this is for the database, not the admin panel. I cannot figure out how to reset this or get into my admin website, can anyone please help me with this issue at least with something to try? Thank you. I am using version 1.5
    You will probably need to reset it using phpMyAdmin: http://www.zen-cart.com/content.php?...admin-password
    .

    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.

 

 

Similar Threads

  1. Replies: 2
    Last Post: 24 Mar 2015, 04:55 PM
  2. Can't login to admin. reset password doesn't work
    By Foilman1 in forum General Questions
    Replies: 3
    Last Post: 22 Apr 2014, 06:23 PM
  3. Replies: 9
    Last Post: 20 Jan 2014, 08:58 AM
  4. v150 Can't login to admin and sql password reset doesn't work
    By tips007 in forum General Questions
    Replies: 1
    Last Post: 17 Jan 2013, 04:13 PM
  5. How can i reset the admin password w/o login?
    By ohadile in forum Installing on a Windows Server
    Replies: 3
    Last Post: 11 May 2009, 01:29 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