If this is your first visit, check our documentation. To post, register or login.
Forums / Installing on a Linux/Unix Server / failed to write session data (memcached)

failed to write session data (memcached)

Started by technobuddha on 6 Nov 2012, 9:22 PM · Views: 3,070

Results 1 to 4 of 4
6 Nov 2012, 9:22 PM
#1
technobuddha avatar

technobuddha

New Zenner

Join Date:
Nov 2012
Posts:
2
Plugin Contributions:
0

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?

6 Nov 2012, 9:29 PM
#2
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

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

6 Nov 2012, 9:36 PM
#3
technobuddha avatar

technobuddha

New Zenner

Join Date:
Nov 2012
Posts:
2
Plugin Contributions:
0

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.

6 Nov 2012, 9:54 PM
#4
lhungil avatar

lhungil

Totally Zenned

Join Date:
Feb 2012
Location:
mostly harmless
Posts:
1,816
Plugin Contributions:
4

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