Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

PHP session settings #805

Closed
anonymous-piwik-user opened this Issue · 5 comments

2 participants

@anonymous-piwik-user

PHP session settings is wrong if user use memcached session storage.

if you do not comment line in index.php

@ini_set('session.save_handler', 'files');

piwik crashed with PHP error

Can not open file
open("tcp://127.0.0.1:11211/some_rand_sessionid"... );

Keywords: session

@robocoder
Collaborator

How are you calling Piwik?
Where did you define your memcache session save handler?

@anonymous-piwik-user

memcache session handler defined in php.ini

when ini_set commented piwik worked fine

@robocoder
Collaborator

Interesting.

@robocoder
Collaborator

(In [1226]) fixes #805 - don't override memcached session handler

@robocoder
Collaborator

Ref'd the wrong ticket:

(In [1227]) - only set session handler if 'user'; all the other handlers are either built-in or through libraries/extensions; see list of supported session handlers #806

@anonymous-piwik-user anonymous-piwik-user added this to the Piwik 0.4.1 milestone
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.