Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Join Date
    Jun 2006
    Posts
    168
    Plugin Contributions
    0

    Default cannot login to admin after php update to v5

    Hi.

    We have updated PHP to V5, and now zencart won't login to admin. We can still place orders and all, but when we try to login it just goes back to the login page without any error or message.

    I can reinstall the whole zencart, but is there another way to work around this? We have orders pending and we cannot go though them.

    Thanks

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    Default Re: cannot login to admin after php update to v5

    What version of Zen Cart is this?
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Jun 2006
    Posts
    168
    Plugin Contributions
    0

    Default Re: cannot login to admin after php update to v5

    1.3.7 without any mods.

    Quote Originally Posted by barco57 View Post
    What version of Zen Cart is this?

  4. #4
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,739
    Plugin Contributions
    0

    Default Re: cannot login to admin after php update to v5

    If logins loop back to themselves without any error message, then you have session problems ... namely, PHP was unable to start a session based on the configuration options selected in your site.
    Mike
    GeekHost - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  5. #5
    Join Date
    Jun 2006
    Posts
    168
    Plugin Contributions
    0

    Default Re: cannot login to admin after php update to v5

    Quote Originally Posted by barco57 View Post
    If logins loop back to themselves without any error message, then you have session problems ... namely, PHP was unable to start a session based on the configuration options selected in your site.
    how come it only started after we updated php?

    also, any workaround to this without reinstalling zencart?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: cannot login to admin after php update to v5

    Quote Originally Posted by bangsters View Post
    how come it only started after we updated php?
    It's not uncommon to find hosts breaking their PHP session functionality when they upgrade their PHP.
    Usually they've forgotten to properly enable session support, or have altered the settings (used defaults perhaps? instead of the previous settings which worked better?), or have not set permissions properly on the session.save temporary folder, or numerous other possible things.
    The server administrator will probably have to be the one to fix your server's session problems.

    Re-installing Zen Cart will not likely accomplish anything if the server's config is broken.
    .

    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.

  7. #7
    Join Date
    Jun 2006
    Posts
    168
    Plugin Contributions
    0

    Default Re: cannot login to admin after php update to v5

    If that is the case tho, then all installations of zencart in the same server should be affected. However they are not. Existing 1.3.7 carts are affected, but new installs, both 1.3.7 and 1.3.8 work perfectly fine.

    Either way, any idea how I can have this fixed without doing a reinstall?


    Quote Originally Posted by DrByte View Post
    It's not uncommon to find hosts breaking their PHP session functionality when they upgrade their PHP.
    Usually they've forgotten to properly enable session support, or have altered the settings (used defaults perhaps? instead of the previous settings which worked better?), or have not set permissions properly on the session.save temporary folder, or numerous other possible things.
    The server administrator will probably have to be the one to fix your server's session problems.

    Re-installing Zen Cart will not likely accomplish anything if the server's config is broken.

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

    Default Re: cannot login to admin after php update to v5

    Peek in the Free Add ons for the Debug tool and load that on your site as instructed and see what errors generated to see if this is a session issue ...
    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: v1.5.5]
    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!

  9. #9
    Join Date
    Jun 2006
    Posts
    168
    Plugin Contributions
    0

    Default Re: cannot login to admin after php update to v5

    this is the error:

    [15-Feb-2009 15:37:25] PHP Fatal error: Call to a member function Execute() on a non-object in /hsphere/local/home/user/domain.com/includes/functions/sessions.php on line 61
    [15-Feb-2009 15:37:25] PHP Fatal error: Call to a member function Execute() on a non-object in /hsphere/local/home/user/domain.com/includes/functions/sessions.php on line 61
    [15-Feb-2009 15:37:25] PHP Fatal error: Call to a member function Execute() on a non-object in /hsphere/local/home/user/domain.com/includes/functions/sessions.php on line 61

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

    Default Re: cannot login to admin after php update to v5

    yeps that's the one ...

    Are you both php 5 and MySQL 5 or just php 5?
    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: v1.5.5]
    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!

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v151 Cannot login to admin after updating front page
    By kartune in forum General Questions
    Replies: 2
    Last Post: 8 Apr 2013, 02:05 PM
  2. Cannot login to admin after changing charset
    By PUREchocolatetruffle in forum General Questions
    Replies: 6
    Last Post: 13 Oct 2011, 07:48 PM
  3. Cannot login to Admin after Install
    By thebeadyeye in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 25 Feb 2007, 03:04 PM

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