Page 8 of 17 FirstFirst ... 678910 ... LastLast
Results 71 to 80 of 165
  1. #71
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: unable to login to admin

    Yes, undo all the coding changes I had suggested.

    The admin username/password is the information you selected for the Admin account during installation ... on the last page of the zc_install process.

    They are *not* the same as what's in your configure.php files (well, unless you used that information there too, which I don't recommend).

    You had entered "denny" and some password ... that's what you should use to login to the admin.
    .

    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.

  2. #72
    Join Date
    Aug 2007
    Posts
    13
    Plugin Contributions
    0

    Default Re: unable to login to admin

    Thanks again,

    I have no idea where I entered "Denny" as a UN... I owe you big time for the help today..

    Go get your coffee...

    Thanks

  3. #73
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: unable to login to admin

    Quote Originally Posted by beerdawg View Post
    It seems that logging into the admin pages with zen-cart-1.3.7.1 using PHP-4.3.2 is broken. After entering the correct login/passwd, it will just return back to the login page.

    The issue has to do with the call to session_regenerate_id() from zen_session_recreate() in includes/functions/sessions.php (which is called from admin/login.php).

    According to the php documentation for php, "Version 4.3.3: Since then, if session cookies are enabled, use of session_regenerate_id() will also submit a new session cookie with the new session id." See the documentation here:

    That means that 4.3.2 does not submit a new session cookie with the new session id.

    The fix provided by buraks78 in the comments in the link above seems to address the issue and fix the zen-cart login to the admin page.

    Basically, add this directly after the call to session_regenerate_id() in includes/functions/sessions.php:

    Code:
      if(!version_compare(phpversion(),"4.3.3",">=")){
         setcookie(
            session_name(),
            session_id(),
            ini_get("session.cookie_lifetime"),
            "/"
         );
      }
    Herb.
    Thanks very much for posting this fix re PHP-4.3.2

  4. #74
    Join Date
    Aug 2006
    Location
    Wales
    Posts
    87
    Plugin Contributions
    0

    Default Re: unable to login to admin

    Hi,
    Well I'm having exactly the same problem logging in, so I installed the clear cache thing & used it several times, but still can't log in using firefox - my prefered browser.
    Just to make sure, I tried Internet Explorer for the first time in months, & that works fine!
    I also tried creating an account as a customer through Firefox & that worked fine.
    What on earth is going on?
    This is a new install of 3.8, which worked fine including the login, then putting in a copy of my current database after dropping the tables of the install d/b.
    That's when the problems started.
    This has happened to me before when trying to update on a practice shop just to make sure I didn't stuff up a live one.!
    Thought I kept doing something wrong until I found this string
    My php is an old one: 2.11.1 with mysql 4.1.22.
    Apache server: Unitedhosting.co.uk
    Hope someone can help
    Regards
    ######

  5. #75
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: unable to login to admin

    Quote Originally Posted by gayelston View Post
    My php is an old one: 2.11.1 with mysql 4.1.22.
    Um ... what?
    Are you *sure* that's your PHP version?
    .

    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.

  6. #76
    Join Date
    Jan 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: unable to login to admin

    Hi, I'm new to the forum so hello to everyone.

    I've just done a test install of zen cart via the fantastico automatic install section of my hostgator account (running php v 4.4.7). The version of Zen it installs is 1.3.7.1 which I now know to be an old version - however it will probably suffice for now.....

    Unfortunately I'm having exactly the same admin log in problem as the other posters on this topic, i.e I can't access the admin section. When I log in it just refreshes the admin log in page with cleared input boxes. If I type in the wrong user name or password, I get the same result - no error messages.

    I've tried a lot of the fixes described here but I'm merrily getting lost in the myriad of solutions offered - none of which seem to work. I've done several reinstalls but I get the same result . Is there any one solution which seems to be successful in the majority of cases

  7. #77
    Join Date
    Jan 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: unable to login to admin

    ok... uopdate... I bit the bullet and installed the 8a version. Dream of an installation so I vebtured to the admin panel and ebtered my user name and pw. First hic-up, it said I'd got the wong password, so i asked for a reset and put the new password in . Voila!! it worked.. so filled with confidence I changed my password and logged out to see if the log in would work. Guess what? same old problem came back... help

  8. #78
    Join Date
    Jan 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: unable to login to admin

    latest.... admin opens fine with firefox... not so IE. It's a start, but there are times I'l need IE.

  9. #79
    Join Date
    Jan 2004
    Posts
    66,419
    Blog Entries
    7
    Plugin Contributions
    277

    Default Re: unable to login to admin

    Is it possible that your browser cache/cookies needs to be emptied?
    .

    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.

  10. #80
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,448
    Plugin Contributions
    11

    Default Re: unable to login to admin

    or... IE is remembering an old password?

 

 
Page 8 of 17 FirstFirst ... 678910 ... LastLast

Similar Threads

  1. v153 Can't login to admin - loops back to login
    By missyenta in forum Basic Configuration
    Replies: 24
    Last Post: 17 Mar 2016, 10:31 PM
  2. 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
  3. Can't Login as Admin; Can't Access Admin Login Dialog Box
    By powrwrap in forum General Questions
    Replies: 6
    Last Post: 16 Mar 2013, 05:24 PM
  4. Admin Login page redirects to itself - can't login
    By fxchain in forum Installing on a Linux/Unix Server
    Replies: 9
    Last Post: 14 Jul 2009, 07:32 AM
  5. Can't login to admin Suddenly admin become a white page
    By gardengate in forum General Questions
    Replies: 2
    Last Post: 13 Sep 2007, 06:08 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