Results 1 to 8 of 8
  1. #1

    Default Admin Sessions broken, public side fine

    Recently, I had our host do some updates to ours server (servint, VPS). Our site had been running slow and so they upgraded several components and resources.

    The result was that I can no longer login to the admin area of the site (I didn't discover this for a couple of days). The public side is working fine.

    I have run through all the tutorials and other boards I can find with similar problems. It seems to be a server issue but I am looking for why the admin side sessions wouldn't work where the public side does.

    When I try to login I get a security error. The session token and post token do not match. What is happening is when the page reloads, the session token is being refreshed and so it doesn't match the posted security token, it does match the previous token however. I am looking for insight to how the admin side is different so I can go to the host with better information, or perhaps there is a fix on the software side (unlikely).
    Of course I went mad with power. Have you ever tried going mad without power? It's boring. No one listens to you.

  2. #2

    Default Re: Admin Sessions broken, public side fine

    PHP: 5.2.13
    not sure of anything else version wise, but I suspect the PHP is the problem, possibly php.ini?
    Of course I went mad with power. Have you ever tried going mad without power? It's boring. No one listens to you.

  3. #3

    Default Re: Admin Sessions broken, public side fine

    Seems the seesions are not saving properly on the server even though the settings seem to be correct in the php.ini. Apparently, only the admin side of the site is Session dependent.

    Any ideas?
    Of course I went mad with power. Have you ever tried going mad without power? It's boring. No one listens to you.

  4. #4

    Default Re: Admin Sessions broken, public side fine

    So, sessions on the server have been restored. The zen site still isn't storing them properly however. Within the Zen framework, sessions don't seem to be working. Outside of Zen, the sessions are saving. I assume something with the upgrade to PHP 5.2.13 has broken something but the server does seem to be configured correctly. Unfortunately with the bug or issue (whatever the cause) I can not login to the admin which is beginning to cause problems... any ideas?
    Of course I went mad with power. Have you ever tried going mad without power? It's boring. No one listens to you.

  5. #5
    Join Date
    Apr 2007
    Location
    Herts. UK
    Posts
    890
    Plugin Contributions
    4

    Default Re: Admin Sessions broken, public side fine

    It may be having problems recreating the session when you log into the admin. Try the following in phpMyAdmin...
    UPDATE configuration SET `configuration_value` = 'False' WHERE `configuration_key`='SESSION_RECREATE';
    (add any necessary table prefix)

    Regards,
    Christian.

  6. #6
    Join Date
    Oct 2006
    Location
    Alberta, Canada
    Posts
    4,571
    Plugin Contributions
    1

    Default Re: Admin Sessions broken, public side fine

    Downgrading PHP to v5.2.12 should resolve the problem, if Christian's method doesn't work.

  7. #7
    Join Date
    Jun 2007
    Posts
    70
    Plugin Contributions
    1

    Default Re: Admin Sessions broken, public side fine

    There is a patch by DrByte for PHP 5.3: http://www.zen-cart.com/forum/showpo...84&postcount=2

  8. #8

    Default Re: Admin Sessions broken, public side fine

    hmm... for some reason, I wasn't receiving notifications of these posts... thanks for the help. Seems the issue was a bad entry in the SESSION_WRITE_DIRECTORY config key in the DB. I changed it to a valid folder and it now works.

    Thanks again for the help guys.
    Of course I went mad with power. Have you ever tried going mad without power? It's boring. No one listens to you.

 

 

Similar Threads

  1. Replies: 1
    Last Post: 4 Jan 2013, 06:13 AM
  2. v139h Broken Specials on Admin Side
    By lolwaut in forum Setting Up Specials and SaleMaker
    Replies: 17
    Last Post: 13 Jun 2012, 06:43 PM
  3. Date Format - US to UK fine for shop, not-so-fine in Admin
    By laurenh2201 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Sep 2008, 04:35 PM
  4. 1.3.7 to 1.3.8a -> blank page on the public side
    By sanji in forum Upgrading from 1.3.x to 1.3.9
    Replies: 12
    Last Post: 7 Feb 2008, 04:35 AM
  5. Product Changes in Admin Not Showing on Public Side
    By exponential in forum General Questions
    Replies: 1
    Last Post: 16 Jan 2008, 10:14 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