Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Dec 2006
    Posts
    2
    Plugin Contributions
    0

    help question Admin login not working

    So I kept hearing about what a great product this is, and the demo looks very cool and exactly as I would want. I downloaded the latest of everything, and went to install it all. Took care of the red flags in the Zen Cart installation process mentioned at the beginning. Everything (eventually) looked good.

    I get to the Admin page and it does not move past the login page. No errors, no blank pages. Just reloads the Admin page. I even tried incorrect usernames and passwords to be sure of what I am getting, and I got the "incorrect" errors as I should.

    Just for grins, I also tried setting up an account via the demo site. It said "congrats..." but then kept welcoming me as a guest, and referring me to the log in page. So it's not holding the info. Not sure if it's supposed to but it sure seems like it should in order to test out that function properly.

    Versions:
    PHP 5.2.0
    Apache 2.2.3
    MySQL 5.0

    Oh, and I'm running this on a Window XP box, on my own computer so that I can play with it before getting serious and uploading to an online server.

    I read the instructions on the support page, and except for the possibility of my McAfee firewall, everything looks good. The firewall hasn't caused any other issues, and I don't understand how it would now. Cookies are being accepted, cache cleared. My configure file appears to be fine. Whatever shouldn't be empty isn't, and seems to have the correct info in it.

    Any suggestions?

    My husband who has more certifications than God helped me get this far, but now even he's confused.


  2. #2
    Join Date
    Dec 2006
    Posts
    1
    Plugin Contributions
    0

    Default Re: Admin login not working

    Hi there

    I just tried installing ZenCart with a pretty much identical setup to you, and had the same problems. I had a hunch that it's something to do with sessions, so changed line in the admin/includes/configure.php from :

    [FONT=Courier New]define('STORE_SESSIONS', 'db');
    [FONT=Verdana]
    [/FONT][FONT=Verdana]to[/FONT]

    define('STORE_SESSIONS', '');

    [FONT=Verdana]Low and behold, it lets me login.

    I'll investigate further if / when I get some time, but this may help you out.

    David
    [/FONT]

    [/FONT]

  3. #3
    Join Date
    Dec 2006
    Location
    France
    Posts
    20
    Plugin Contributions
    0

    Default Re: Admin login not working

    EmElle,

    If you're using PhP 5.2 & still searching for a result, it might also be helpful to take a look at Website Rob's post at 'Can't log in to Admin' #24

    http://www.zen-cart.com/forum/showth...086#post302086

    There's a few of us stuck on this at the moment - let us know if it works ...

    dscvry


    [FONT=Arial]Here is a solution to the same problem, as posted in another thread.

    --------------------------------------------------
    Seems I ran into the php 5.2 update bug.
    This fixed it (from another thread):

    edit /includes/functions/sessions.php

    function _sess_write($key, $val) {
    global $db;


    change to:

    function _sess_write($key, $val) {
    // The following is only to work around a PHP 5.2.0 bug:
    //global $db;
    $db = new queryFactory();
    $db->connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, USE_PCONNECT, false);[/FONT]

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

    Default Re: Admin login not working

    goodmorning ... you are running an older version of Zen Cart ...

    I fixed the two sessions.php files:
    /includes/functions/sessions.php
    /admin/includes/functions/sessions.php

    You should be good to go now ...
    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!

  5. #5
    Join Date
    Dec 2006
    Location
    France
    Posts
    20
    Plugin Contributions
    0

    Default Re: Admin login not working

    Care to share the good news Ajeh ?

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

    Default Re: Admin login not working

    The same fix, but both sessions.php files needed the same updated ...
    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!

  7. #7
    Join Date
    Dec 2006
    Posts
    2
    Plugin Contributions
    0

    Default Re: Admin login not working

    Quote Originally Posted by heggied View Post
    Hi there

    I just tried installing ZenCart with a pretty much identical setup to you, and had the same problems. I had a hunch that it's something to do with sessions, so changed line in the admin/includes/configure.php from :

    [FONT=Courier New]define('STORE_SESSIONS', 'db');
    [FONT=Verdana]
    [/FONT][FONT=Verdana]to[/FONT]

    define('STORE_SESSIONS', '');

    [FONT=Verdana]Low and behold, it lets me login.

    I'll investigate further if / when I get some time, but this may help you out.

    David
    [/FONT]

    [/FONT]
    You are a God! Thank you! Now I can play.

 

 

Similar Threads

  1. Admin login not working
    By GavrielEvelia in forum General Questions
    Replies: 1
    Last Post: 28 Aug 2012, 09:43 PM
  2. Admin Login Not Working!
    By justinm01 in forum Installing on a Linux/Unix Server
    Replies: 11
    Last Post: 29 Dec 2011, 10:14 PM
  3. Admin login not working.
    By swatoffroad in forum Basic Configuration
    Replies: 25
    Last Post: 10 Jul 2007, 08:06 AM
  4. Customer Login and Admin Login not working
    By trudesign in forum General Questions
    Replies: 4
    Last Post: 6 Jun 2007, 04:26 AM
  5. Admin login not working!
    By ccn1 in forum General Questions
    Replies: 3
    Last Post: 19 Feb 2007, 04:23 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