Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2006
    Posts
    15
    Plugin Contributions
    0

    help question Session related error on logout --Need HELP

    Hi ,
    I am getting the following errors during logout :
    Warning: session_destroy() function.session-destroy: Session object destruction failed in \httpdocs\includes\functions\sessions.php on line 140

    Warning: Cannot modify header information - headers already sent by (output started at \httpdocs\includes\functions\sessions.php:140) in \httpdocs\includes\functions\functions_general.php on line 44

    My Configuration is as follows:

    ZenCart V1.3.6
    PHP 5.2.0
    IIS 6.0
    Windows 2003
    MySql 5.0.22

    PHP.ini has the following settings:
    Session_support ENABLED
    session.save_path c:\windows\temp this directory is READONLY

    I also have changed [FONT=Arial]configure.php files in the admin\include and includes to have ‘STORE_SESSIONS’ as file based instead of db [/FONT]
    [FONT=Arial][/FONT]
    [FONT=Arial]thanks for your help in advance....[/FONT]
    ZC

    Zencart Version 1.3.6

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,720
    Plugin Contributions
    6

    Default Re: Session related error on logout --Need HELP

    Sounds like you have the php 5.2 bug where it is throwing errors ...

    This has been fixed in Zen Cart v1.3.7 plus the latest update patch for PayPal:
    http://www.zen-cart.com/forum/showthread.php?t=56216

    Upgrading will correct ...

    There is a temp fix that you can try if for some reason you cannot upgrade at this time ... post #26 helps explain it ...
    http://www.zen-cart.com/forum/showth...ght=Execute%2A
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Nov 2006
    Posts
    15
    Plugin Contributions
    0

    Default Re: Session related error on logout --Need HELP

    Ajeh,
    thanks for the quick response...

    I have already tried option a) in the Post # 26 configure.php file:
    [FONT=Courier New]define('STORE_SESSIONS', '');[/FONT]
    [FONT=Courier New]before trying option a) I was getting whole bunch of other session related errors. Now I am getting error only during Logout.[/FONT]

    I have not tried option b) since dr Byte mentioned it has not been thoroughly tested..

    Also, I want to mention that I don't get any errors when I Logoff from ADMIN..
    ZC

    Zencart Version 1.3.6

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,720
    Plugin Contributions
    6

    Default Re: Session related error on logout --Need HELP

    You could download from our Download link at the top of your screen a clean Zen Cart v1.3.7 and see how this issue has been addressed ...

    Naturally the better choice is to upgrade ...
    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.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 

Similar Threads

  1. Session Timing out
    By magicpants in forum General Questions
    Replies: 1
    Last Post: 9 Jan 2007, 05:04 PM
  2. Multiple customers using same session id! Need Help
    By heavenlynights in forum Managing Customers and Orders
    Replies: 6
    Last Post: 6 Oct 2006, 03:40 PM
  3. session logout
    By lamz in forum Managing Customers and Orders
    Replies: 6
    Last Post: 2 Oct 2006, 09:00 PM
  4. Session confusion
    By babzog in forum General Questions
    Replies: 2
    Last Post: 30 May 2006, 02:48 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
  •