Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Nov 2006
    Posts
    56
    Plugin Contributions
    0

    Default Admin Login Page Loops forever

    I just moved to a new host. Copied all the files. Everything seems to be working fine. But, I cannot log in to the admin

    I type in the correct admin username and password, but I just loop back to the login page.

    Any thoughts?

    I found a thread saying to add some code to the to the /includes/functions/sessions.php

    Here's the link:

    http://www.zen-cart.com/forum/showpo...8&postcount=29

    I did it and it didn't work. Need some help quickl, please

  2. #2
    Join Date
    Nov 2006
    Posts
    56
    Plugin Contributions
    0

    Default Re: Admin Login Page Loops forever

    Just noticed same thing happens on my cutomer log in page - they are unable to log in as well....

  3. #3
    Join Date
    Jan 2004
    Posts
    65,266
    Blog Entries
    7
    Plugin Contributions
    226

    Default Re: Admin Login Page Loops forever

    What version of Zen Cart?
    What version of PHP?
    Who is the new host?
    What is the URL?

    What steps did you follow to do your move? This FAQ outlines the recommended process: http://tutorials.zen-cart.com/index.php?article=100
    .

    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.

  4. #4
    Join Date
    Nov 2006
    Posts
    56
    Plugin Contributions
    0

    Default Re: Admin Login Page Loops forever

    What version of Zen Cart?

    1.3.0.2

    What version of PHP?

    php 5.2.5

    Who is the new host?

    midphase / an hosting

    What is the URL?

    touchplate/com/store


    To move to new host - I downloaded all files, created a mysql dump, uploaded new files and imported new sql.

    I also just used the fix cache program.

    Also, I have tried to check and double check both config files. Alll looks ok.

  5. #5
    Join Date
    Nov 2006
    Posts
    56
    Plugin Contributions
    0

    Default Re: Admin Login Page Loops forever

    Tried doing a fresh install and got same problem on a clean database...

    This time I got this error:

    Fatal error: Call to a member function Execute() on a non-object in /home/touchal4/public_html/store2/includes/functions/sessions.php on line 61

    showed up at the bottom of the login page?

  6. #6
    Join Date
    Nov 2006
    Posts
    56
    Plugin Contributions
    0

    Default Re: Admin Login Page Loops forever

    For what it is worth. Here is the info from the fix_cache_key.php output:

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/touchal4/public_html/store/fix_cache_key.php:43) in /home/touchal4/public_html/store/includes/functions/sessions.php on line 100

    Warning: Cannot modify header information - headers already sent by (output started at /home/touchal4/public_html/store/fix_cache_key.php:43) in /home/touchal4/public_html/store/includes/init_includes/init_templates.php on line 78
    Cache Settings Synchronization Tool

    Recommendations

    Possible appropriate cache directory for your site is: /home/touchal4/public_html/store/cache

    Actual Information

    Read DIR_FS_SQL_CACHE from configure.php: /home/touchal4/public_html/store/cache
    Found SESSION_WRITE_DIRECTORY in database: /home/touchpla/public_html/store/cache

    Now synchronizing...
    Database now contains the following SESSION_WRITE_DIRECTORY: /home/touchal4/public_html/store/cache

    Finished.
    Security

    PLEASE DELETE THIS FILE FROM YOUR SERVER NOW!!
    Removing this file (fix_cache_key.php) from your server protects you from would-be hackers/predators who might seek to compromise your server.
    Fatal error: Call to a member function Execute() on a non-object in /home/touchal4/public_html/store/includes/functions/sessions.php on line 61

  7. #7
    Join Date
    Jan 2004
    Posts
    65,266
    Blog Entries
    7
    Plugin Contributions
    226

    Default Re: Admin Login Page Loops forever

    Quote Originally Posted by ehdesign View Post
    What version of Zen Cart?

    1.3.0.2

    What version of PHP?

    php 5.2.5
    v1.3.0.2 is not compatible with PHP 5.
    v1.3.7.1 or v1.3.8a or newer are compatible with PHP5.
    I suggest you plan an upgrade sooner than later.
    In the meantime, you might get some temporary relief by grabbing the updated /includes/functions/sessions.php from v1.3.8a to try on your server.
    .

    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.

  8. #8
    Join Date
    Nov 2006
    Posts
    56
    Plugin Contributions
    0

    Default Re: Admin Login Page Loops forever

    I'll do that, but I tried a fresh install of the newest version on still received the problem. Downloaded from zen site and installed. Still same problem.

    Any ideas?

  9. #9
    Join Date
    Nov 2006
    Posts
    56
    Plugin Contributions
    0

    Default Re: Admin Login Page Loops forever

    Sorry, I lied. Both the "old" and the new were versions 1.3...

    I'll try grabbing the file and see if that helps.

    Could you post a link to an upgrade how to?

  10. #10
    Join Date
    Nov 2006
    Posts
    56
    Plugin Contributions
    0

    Default Re: Admin Login Page Loops forever

    brilliant.

    You have indeed helped. I uploaded the sessions.php file and all is well.

    I will begin an immediate upgrade plan. Thanks.

    Tell me where to send the beer as a thanks!

 

 
Page 1 of 2 12 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. 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: 2
    Last Post: 3 May 2013, 02:49 AM
  4. Admin Login Just Loops
    By mshultise in forum Basic Configuration
    Replies: 3
    Last Post: 30 Jun 2010, 09:41 PM
  5. Admin Login Loops
    By colbybeam in forum General Questions
    Replies: 1
    Last Post: 29 Jun 2007, 05:49 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