Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

PHP session settings #805

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

2 participants

Anonymous Piwik user Anthon Pang
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

Anthon Pang
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

Anthon Pang
Collaborator

Interesting.

Anthon Pang
Collaborator

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

Anthon Pang
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.