Results 1 to 5 of 5
  1. #1
    Join Date
    Jul 2018
    Posts
    6
    Plugin Contributions
    0

    Default Cannot login to Admin

    Hello,

    I am attempting to reset the Admin password using phpmyadmin. I have tried it through the sql statement way and also editing the admin row and entering in the encoded password and i am still not allowed to log into the control panel. Can someone please let me know how to fix this issue. I am not sure of the version of zencart i am using since i cannot get into zencart.

    Can someone please assist. Below is the sql query i used.

    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);

    This supposably should set the username to: Admin
    Password should be: admin

    and i still can't log in.

    Thank you in advance
    Kenny

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

    Default Re: Cannot login to Admin

    What are the symptoms of "not allowed to log in"?

    Does it give you a blank screen after submitting the page?
    A specific error message?
    A refresh as though you'd visited it for the first time?

    When did this first begin? How does that relate to anything else you've changed about the site?

    When was the last time you could login?

    Is the storefront having similar login challenges when logging in like a shopper would?


    Related docs: https://docs.zen-cart.com/user/troub...lling-zen-cart
    .

    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. #3
    Join Date
    Jul 2018
    Posts
    6
    Plugin Contributions
    0

    Default Re: Cannot login to Admin

    After i put in the Admin username and password i reset it to it simply says "You entered the wrong username or password." I have tried clearing the cache and it still does not work.

  4. #4
    Join Date
    Jul 2018
    Posts
    6
    Plugin Contributions
    0

    Default Re: Cannot login to Admin

    I also do not have SSL enabled on my site yet. But in the past this has not been an issue. I tested to connection from the shopping cart to the DB by creating a new shopper account. Please help this is urgent i get in the admin section. My client cannot get in either so they cannot get their orders.

    Thank you
    Kenny

  5. #5
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,149
    Plugin Contributions
    11

    Default Re: Cannot login to Admin

    What other recent changes have been made? Is the site SSL or not? ZC version? Have you tried to check for a bad table in the phpMyAdmin?

    In past similar situations, we have also found that an SSL change or 301 can block access. Is your admin expecting a certain URL and an added .htaccess setting is keeping you out?

    e.g, if your site is set to redirect to http://www.YOURSITE.com but your SSL is for https://YOURSITE.com, you might be blocked if you use the wrong URL combination.

 

 

Similar Threads

  1. v151 CANNOT REACH admin/login.php so cannot log in
    By shags38 in forum General Questions
    Replies: 12
    Last Post: 25 May 2017, 07:56 AM
  2. 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
  3. Replies: 5
    Last Post: 20 Sep 2010, 12:11 AM
  4. 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