Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2012
    Posts
    2
    Plugin Contributions
    0

    Default failed to write session data (memcached)

    Hi all,
    Trying to install on my linux server.
    Each page takes about 15 seconds to load.

    When I'm at the part of the install, where you click the install button,
    all stats show ok, such as:

    PHP Session.Save_Path = /www/XXX/website/catalog/cache -->Writeable

    BUT, I get this error:

    Problem Detected
    Sorry, a problem has been detected.
    This installer needs to be able to start a PHP session in order to complete installation.

    OK, well I can verify that the cache folder IS writable by user/group/other!

    I went to the log files and I see this:
    [06-Nov-2012 16:11:05] PHP Warning: Unknown: Failed to write session data (memcached). Please verify that the current setting of session.save_path is correct (/www/pplsnet.com/website/catalog/cache) in Unknown on line 0

    I can confirm that memcached is working, as it stores values from my phpbb3 forum and another software.

    so what can I do?

  2. #2
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: failed to write session data (memcached)

    Fresh install Failed to initialize storage module memcache should point you in the right direction.

    Basically memcache is not supported during the installation of Zen Cart so disable memcache or try the workaround noted in the thread (pay attention to DrByte's comments).
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

  3. #3
    Join Date
    Nov 2012
    Posts
    2
    Plugin Contributions
    0

    Default Re: failed to write session data (memcached)

    HA! thanks for the quick response.
    I actually got suspicious of that, and I just started to do that suggestion!

    thanks, glad to know i was heading in the right direction.

    except his script works, but i have to put in memcached and not memcache...

    strange though.

  4. #4
    Join Date
    Feb 2012
    Location
    mostly harmless
    Posts
    1,809
    Plugin Contributions
    8

    Default Re: failed to write session data (memcached)

    Makes sense, the original post was for memcache. From the little I've read - I think memcached is a fork which is newer.
    The glass is not half full. The glass is not half empty. The glass is simply too big!
    Where are the Zen Cart Debug Logs? Where are the HTTP 500 / Server Error Logs?
    Zen Cart related projects maintained by lhûngîl : Plugin / Module Tracker

 

 

Similar Threads

  1. accessing session data in a custom file
    By skyhigh in forum General Questions
    Replies: 1
    Last Post: 21 Jul 2010, 06:10 PM
  2. Crafty Syntax failed to write session data
    By rtfulk in forum Addon Sideboxes
    Replies: 3
    Last Post: 21 Jan 2007, 05:30 AM
  3. Session ID's; Sample Data, etc.
    By vortex in forum Installing on a Linux/Unix Server
    Replies: 0
    Last Post: 29 Nov 2006, 09:35 PM

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