Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24
  1. #21
    Join Date
    Feb 2012
    Posts
    6
    Plugin Contributions
    0

    Default Re: Cannot reset admin password

    Thanks for all your help. Still not getting it. I'm into an tech area I really know nothing about. All of this would be unnecessary of course if Zen-Cart would just resend me my password when I click "Resend Password" on the Admin login page. Any idea why that's not happening? I am sure the Admin user name is correct.

  2. #22
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Cannot reset admin password

    Why are you pasting "FROM/INTO prefix_admin" in the first place? That's definitely invalid syntax, and not part of the code suggested in the article.
    .

    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.

  3. #23
    Join Date
    Feb 2012
    Posts
    6
    Plugin Contributions
    0

    Default Re: Cannot reset admin password

    There's was a message below the code which said to add that, which I did only after both versions of the code failed to work. To recap, here are the four things I tried:

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

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

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

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

    I gather that neither of the last two are correct. But what about the first two? Are they both wrong, too? If so what is missing? Again, I'm not a tech guy. So i would need to know exactly what I should be pasting in. Thanks.

  4. #24
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Cannot reset admin password

    Log in to your database and look at the "admin" table. Does it just read "admin" or is there something appended to the front of it? If there is something that is appended to the front of it, this is a prefix and the same thing needs to be appended to the front of "admin" in the sql patch.

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. v151 Cannot log into the admin page, or reset the password... any help?
    By brandi_jo in forum General Questions
    Replies: 3
    Last Post: 13 Jan 2014, 03:36 AM
  2. Cannot reset my admin username and password on localhost
    By iceni11 in forum Basic Configuration
    Replies: 5
    Last Post: 7 Aug 2012, 05:15 PM
  3. Cannot reset password
    By europod in forum General Questions
    Replies: 2
    Last Post: 27 Nov 2006, 04:47 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