Thread: Can't log in :(

Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Hybrid View

  1. #1
    Join Date
    Feb 2016
    Posts
    9
    Plugin Contributions
    0

    Default Can't log in :(

    I wonder if somebody could help me please. I've been working on a website that has a zen cart installed. For years I've been able to log into it but now for no reason I can no longer do so, it just says I entered the wrong username or password. I know nothing has changed and if I click to resend the password no email is ever sent.

    Nothing on the server has changed so I'm puzzled as to why this is happening but would be grateful of some help please.

    Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Can't log in :(

    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2016
    Posts
    9
    Plugin Contributions
    0

    Default Re: Can't log in :(

    Quote Originally Posted by kobra View Post
    Thanks, I did try that but still wasn't able to log in. I tried both Admin and admin as the username and neither worked

  4. #4
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Can't log in :(

    Quote Originally Posted by thehappyappy View Post
    Thanks, I did try that but still wasn't able to log in. I tried both Admin and admin as the username and neither worked
    What was the SQL used to reset the password (specific SQL statement)?
    What result(s) were presented when using it?
    What is the value of DB_PREFIX (define('DB_PREFIX',?);) in your admin/includes/configure.php?
    As the instruction states (twice) the username is: Admin, the password is all lowercase.
    Start there first.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Feb 2016
    Posts
    9
    Plugin Contributions
    0

    Default Re: Can't log in :(

    Quote Originally Posted by mc12345678 View Post
    What was the SQL used to reset the password (specific SQL statement)?
    What result(s) were presented when using it?
    What is the value of DB_PREFIX (define('DB_PREFIX',?);) in your admin/includes/configure.php?
    As the instruction states (twice) the username is: Admin, the password is all lowercase.
    Start there first.
    I used this to create the Admin user:

    Code:
    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 checked the database and the user details were there. All that happens when I try to log in is that the page refreshes and says the login details are wrong.

    The configure.php file says this: define('DB_PREFIX', '');

  6. #6
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Can't log in :(

    Try:
    Code:
    DELETE FROM admin WHERE admin_name = 'Admin'; 
    INSERT INTO admin (admin_name, admin_email, admin_pass, admin_level) 
    VALUES ('Admin', 'admin@localhost', '351683ea4e19efe34874b501fdbf9792:9b', 0);
    Reason is, in some upgrades, I have seen that the admin profiles have been set to 0 instead of 1. An alternative is to check for that, change the value to 1 from 0 but that could also cause some other issue in the current version.

    The other thing would be to upgrade ZC as there may be a PHP version conflict, but that too is to be evaluated...
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  7. #7
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Can't log in :(

    thehappyappy,

    What ver of php are you using?
    What ver of mysql are you using?
    Are you using ZenCart v1.3.9h?
    Zen-Venom Get Bitten

  8. #8
    Join Date
    Feb 2016
    Posts
    9
    Plugin Contributions
    0

    Default Re: Can't log in :(

    Quote Originally Posted by kobra View Post
    thehappyappy,

    What ver of php are you using?
    What ver of mysql are you using?
    Are you using ZenCart v1.3.9h?
    PHP version is 5.4.45
    I'm not sure which MySQL version, PHPMyAdmin says this:
    Server: mysql03 - 213.171.200.64 (213.171.200.64 via TCP/IP)
    Server type: MySQL
    Server version: 5.0.95-log - Source distribution
    And the version.php file says:
    define('PROJECT_VERSION_MAJOR', '1');
    define('PROJECT_VERSION_MINOR', '3.9h');
    ....
    define('EXPECTED_DATABASE_VERSION_MAJOR', '1');
    define('EXPECTED_DATABASE_VERSION_MINOR', '3.9');
    Thanks guys for helping with this

  9. #9
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Can't log in :(

    Well it looks like it is time for you to upgrade your ZenCart
    As you are using 1.3.9h with php v5.4.45
    Zen Cart v1.3.9 series is compatible with PHP 5.2.10 thru PHP 5.3.x.
    https://www.zen-cart.com/content.php...o-run-zen-cart

    And this is most likely the cause of your issues
    Zen-Venom Get Bitten

  10. #10
    Join Date
    Feb 2016
    Posts
    9
    Plugin Contributions
    0

    Default Re: Can't log in :(

    Quote Originally Posted by kobra View Post
    Well it looks like it is time for you to upgrade your ZenCart
    As you are using 1.3.9h with php v5.4.45

    https://www.zen-cart.com/content.php...o-run-zen-cart

    And this is most likely the cause of your issues
    Thanks for the advice, I'll upgrade it now - does it cost to upgrade? Also I didn't see a link to download the upgrade - do I have to do it within the software?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Customers can't log in, just go back to the log on page!
    By colemanpa in forum General Questions
    Replies: 2
    Last Post: 28 Jun 2009, 01:13 AM
  2. Can't log in - can't add to cart - can't log in to admin?
    By ehdesign in forum General Questions
    Replies: 6
    Last Post: 5 Mar 2009, 09:29 AM
  3. User couldn't log in now I can't log in
    By bjraines in forum General Questions
    Replies: 2
    Last Post: 14 Dec 2008, 06:45 PM
  4. Replies: 16
    Last Post: 31 Jan 2008, 06:44 PM
  5. After log out can't log back in unless......
    By oldpaint in forum General Questions
    Replies: 13
    Last Post: 17 Mar 2007, 05:51 AM

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