Jérôme Posted May 21, 2013 Posted May 21, 2013 Hi, I'm trying to install ProcessWire on my hosting provider "Free-h" (http://www.free-h.org) but there is a memcache error during installation process when I'm trying to validate the admin and email user (last install step ?) : Error: session_start(): Failed to initialize storage module: memcache(path: /var/www/vhosts/lecoindeladmin.com/abcdev/site/assets/sessions)(line 104 of/var/www/vhosts/lecoindeladmin.com/abcdev/wire/core/Session.php) The initial compatibility check is OK, everything is green. Here is the memcache configuration returned by phpinfo() : memcache support enabled Version 3.0.7 Revision $Revision: 326387 $ Directive Local Value Master Value memcache.allow_failover 1 1 memcache.chunk_size 32768 32768 memcache.compress_threshold 20000 20000 memcache.default_port 11211 11211 memcache.hash_function crc32 crc32 memcache.hash_strategy consistent consistent memcache.lock_timeout 15 15 memcache.max_failover_attempts 20 20 memcache.protocol ascii ascii memcache.redundancy 1 1 memcache.session_redundancy 2 2 Is someone have an idea in order to solve this problem ? Thanks
WillyC Posted May 22, 2013 Posted May 22, 2013 u try edit /index.php file comment.out this line ini_set("session.save_path", rtrim($config->paths->sessions, '/')); so like: // ini_set("session.save_path", rtrim($config->paths->sessions, '/')); fixed ? 2
Jérôme Posted May 22, 2013 Author Posted May 22, 2013 Hi Willy, Thank you very much for your response, it seems to be OK now ! My PHP knowledge is not very good... I'll dive into the CMS in order to test it and I'll post a response here. Thanks again. 1
ryan Posted May 25, 2013 Posted May 25, 2013 If that fixes the issue, I'll add a line to our core /index.php that only applies the session.save_path if the session handler is 'files'.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now