Results 1 to 8 of 8
  1. #1
    Join Date
    Feb 2008
    Location
    Netherlands
    Posts
    3
    Plugin Contributions
    0

    Default Can't login on admin with Zen Cart version 1.3.8a

    Hello!

    I installed the newest version of Zen Cart. But I can't login to the admin. My username and password are correct but instead of showing the admin it keeps refreshing to the login page. I found a lot of threads about this, but nothing helps.

    Does anyone know how to solve this????

    Thanks!

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

    Default Re: Can't login on admin with Zen Cart version 1.3.8a

    Using your FTP check your files for "0" byte size/corrupt files
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Feb 2008
    Location
    Netherlands
    Posts
    3
    Plugin Contributions
    0

    Default Re: Can't login on admin with Zen Cart version 1.3.8a

    Quote Originally Posted by kobra View Post
    Using your FTP check your files for "0" byte size/corrupt files
    Thanks for your reply! But there a no files with 0 byte size. I even uploaded al the files again. Did'nt solve it

  4. #4
    Join Date
    Feb 2008
    Location
    Netherlands
    Posts
    3
    Plugin Contributions
    0

    Default Re: Can't login on admin with Zen Cart version 1.3.8a

    Solved it!!!!!!!!!

    If anyone else is having the same problem:

    Open includes/functions/sessions.php (NOT in the admin folder)

    Copy this code (found it here on the forum)

    PHP Code:
      if(!version_compare(phpversion(),"4.3.3",">=")){
         
    setcookie(
            
    session_name(),
            
    session_id(),
            
    ini_get("session.cookie_lifetime"),
            
    "/"
         
    );
      } 
    Search for "session_regenerate_id();". Paste the code right after that. First it did'nt work, but in the file there are 4 lines of code with "session_regenerate_id();"

    Paste the code after every session_regenerate_id();.

    Close your browser, empty the cache and delete cookies. Then try again

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Can't login on admin with Zen Cart version 1.3.8a

    What version Zen Cart are you running and what version php that you had to touch the code?

    Are you sure it wasn't just clearing your cache and cookies that fixed this?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Dec 2007
    Posts
    12
    Plugin Contributions
    0

    Default Re: Can't login on admin with Zen Cart version 1.3.8a

    I would like to know this too... My admin worked the first time I logged in and then it started saying my login info was wrong. I have tried to resend the password a few times, and it never works.

    I have tried checking for 0 byte files, and i have looked at my config files. I would just like to know if this code way would actually help my situation.

    Thanks!

  7. #7
    Join Date
    Aug 2007
    Posts
    114
    Plugin Contributions
    0

    Default Re: Can't login on admin with Zen Cart version 1.3.8a

    I have had this problem for 6 months, posted here a fair few times, cant get into the site...

    I am fed up with this! ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh

    I have version 1.3.7 on one site, and 1.3.8 on another, is it something to do with login into them both???

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

    Default Re: Can't login on admin with Zen Cart version 1.3.8a

    Quote Originally Posted by phil99
    I have had this problem for 6 months, posted here a fair few times, cant get into the site...
    Understand your frustration but piggybacking/hijacking another thread is not the way to obtain assistance nor a solution.

    Keep it to one thread and add to that instead of posting to every thread you find
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. Can't login to admin after upgrade; can login with new install
    By dietcokelemon in forum Upgrading to 1.5.x
    Replies: 14
    Last Post: 9 Feb 2014, 05:16 PM
  2. How can I Get the Zen Cart Version Using a Script?
    By ciel_bleu in forum General Questions
    Replies: 8
    Last Post: 5 Dec 2008, 08:35 PM
  3. Can't download latest version of zen-cart from sourceforge
    By lvanderb in forum General Questions
    Replies: 18
    Last Post: 22 Oct 2006, 04:59 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