Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Jan 2006
    Posts
    224
    Plugin Contributions
    0

    Default SESSION_WRITE_DIRECTORY error...

    I have a live site, that suddenl crashed. Nothing was done on it. The following is on the main page, any clue? You can see it at www.OnlineShop.com.sg

    Warning: session_start() [function.session-start]: open(SESSION_WRITE_DIRECTORY/sess_3bb0b89cddbb864724e1879c38df16b4, O_RDWR) failed: No such file or directory (2) in /home/onlinesh/public_html/includes/functions/sessions.php on line 102

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

    Warning: Cannot modify header information - headers already sent by (output started at /home/onlinesh/public_html/includes/functions/sessions.php:102) in /home/onlinesh/public_html/includes/init_includes/init_templates.php on line 78

    Warning: The sessions directory does not exist: SESSION_WRITE_DIRECTORY. Sessions will not work until this directory is created.


    Warning: Unknown(): open(SESSION_WRITE_DIRECTORY/sess_3bb0b89cddbb864724e1879c38df16b4, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

    Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (SESSION_WRITE_DIRECTORY) in Unknown on line 0

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

    Default Re: SESSION_WRITE_DIRECTORY error...

    Sounds like you are missing a configuration_key in your configuration table ...

    Peek in the Configuration ... Sessions ...

    Do you see a setting for:
    Session Directory
    If sessions are file based, store them in this directory.
    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!

  3. #3
    Join Date
    Jun 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: SESSION_WRITE_DIRECTORY error...

    same problem for me but it's not clear how to fix it...

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

    Default Re: SESSION_WRITE_DIRECTORY error...

    Can you go to phpMyAdmin and search the configuration table for the configuration_key called:
    SESSION_WRITE_DIRECTORY
    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!

  5. #5
    Join Date
    Jun 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: SESSION_WRITE_DIRECTORY error...

    in the configuration table there isn't any configuration_key called: SESSION_WRITE_DIRECTORY in fact phpmyadmin after the query:

    UPDATE configuration SET configuration_value = '/accounts/bla/bla/bla/cache' WHERE configuration_key = 'SESSION_WRITE_DIRECTORY'

    returns:

    Rows modified: 0

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

    Default Re: SESSION_WRITE_DIRECTORY error...

    Add this via phpMyAdmin:
    Code:
    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) VALUES ('Session Directory', 'SESSION_WRITE_DIRECTORY', '/tmp', 'If sessions are file based, store them in this directory.', '15', '1', now());
    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!

  7. #7
    Join Date
    Jun 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: SESSION_WRITE_DIRECTORY error...

    yes I fixed!

    i get also:

    Warning Your database appears to need patching to a higher level. See Admin->Tools->Server Information to review patch levels.

    ...but my version is 1.3.8b!
    I just dropped all the tables and created all again but nothing changed...where have i to look at?

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

    Default Re: SESSION_WRITE_DIRECTORY error...

    Where did you get your Zen Cart download?

    Was this a clean install or an upgrade of an existing install?

    It sounds like an upgrade that has not been completed ...
    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 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: SESSION_WRITE_DIRECTORY error...

    i've installed the italian version 1.3.8b following the wizard and I got immediately the SESSION_WRITE_DIRECTORY problem, I tried to fix it reinstalling and upgrading through wizard but something went wrong...

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

    Default Re: SESSION_WRITE_DIRECTORY error...

    Zen Cart has not released a "v1.3.8b" version. The latest official release is "v1.3.8a". Maybe you need to contact whoever made your "italian version 1.3.8b" for personal support.
    .

    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.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v153 Auto update of SESSION_WRITE_DIRECTORY not always working
    By torvista in forum Bug Reports
    Replies: 5
    Last Post: 26 Aug 2014, 02:17 PM
  2. Replies: 3
    Last Post: 15 Feb 2012, 11:28 AM
  3. UPS XML Error: cURL: Error [77]: error setting certificate verify locations
    By ultraloveninja in forum Addon Shipping Modules
    Replies: 3
    Last Post: 30 Nov 2009, 03:55 AM
  4. Replies: 4
    Last Post: 30 Aug 2009, 09:26 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