Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2006
    Posts
    8
    Plugin Contributions
    0

    Default HELP! Cannot Admin Login

    Hi all,

    Ok, something has happened and I can't login to the Admin panel. I'm using phpmyadmin and looking at the PW_ADMIN table. I am putting in the admin name and password yet it still tells me every time "you entered the wrong username or password".

    I even tried inserting a new admin name and password into the table (which worked fine) and it won't accept that name either.

    Can someone please help me. :) I can't get into my site anymore.

    Thanks

  2. #2
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: HELP! Cannot Admin Login

    Does your TABLE_ADMIN contains your username and encrypted password inside ? If not, by simply seeking the forum, on how to update your admin table, it should clear this issue.

    Note: If you do not know where to verify your content, simply use phpmyadmin (or any relative SQL editor content) by accessing your mySQL Database - related to Zen-Cart.

  3. #3
    Join Date
    Sep 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: HELP! Cannot Admin Login

    The table contains the admin name and password. I tried entering that info and it won't log me in. I did try searching the boards for an answer but my search string wasn't bringing up anything helpful.

    Please, if you know what I should do to fix this, please let me know. Telling me to go search the boards is not very helpful. I'm stressed as it is. ;)

  4. #4
    Join Date
    Sep 2006
    Posts
    8
    Plugin Contributions
    0

    Default Re: HELP! Cannot Admin Login

    Ok, for future information if anyone else has this problem. Here is how I fixed it.

    1. Grab your local copy of Admin->login.php
    2. Comment out this code:

    Code:
     if (!zen_validate_password($admin_pass, $result->fields['admin_pass'])) {
          $message = true;
          $pass_message = ERROR_WRONG_LOGIN;
        }
    3. Upload the modified login.php to the appropriate directory
    4. Go to the admin login and put your admin name there. You'll login without any PW check.
    5. Once in your Admin panel go to Tools->Admin and reset your password.
    6. Go back to your local copy of login.php and uncomment out the PW code.
    7. Upload login.php
    8. Log back in with your admin name and PW.

    DONE!!!

    Once I got my head on straight, this solution was quite simple.

  5. #5
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,753
    Plugin Contributions
    0

    Default Re: HELP! Cannot Admin Login

    I would check and make sure that your admin email stayed the same. When this happened to me it was because someone had compromise the server. They got in and changed the admin user name, pswd and email address, so sending new pswd didn't work. Went to db through phpAdmin and changed the email address back and new user name, can't change pswd as its encrypted in the db. quickly to admin login resend pswd, check email for the new pswd and I was in.
    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

 

 

Similar Threads

  1. v151 Cannot access admin area - login loops back to admin login page
    By Dianne in forum Installing on a Linux/Unix Server
    Replies: 18
    Last Post: 14 Dec 2014, 02:46 PM
  2. Cannot access Admin login page after several attempts and FAQ suggestions, HELP!
    By jnb41578 in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 6 Jul 2011, 02:57 AM
  3. Help Help Help! I cannot login to Admin
    By cjayosburn in forum General Questions
    Replies: 17
    Last Post: 21 Mar 2011, 04:52 PM
  4. Help??? Cannot login to admin
    By arteklektrika in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Jul 2009, 12:29 AM
  5. I cannot login in admin and my clients cannot login
    By jazlee in forum General Questions
    Replies: 1
    Last Post: 28 Oct 2007, 09:50 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