Ticket #805 (closed Bug: fixed)

Opened 9 months ago

Last modified 9 months ago

PHP session settings

Reported by: Sych Owned by:
Priority: major Milestone: Piwik 0.4.1
Component: Core Keywords: session
Cc: Sensitive:

Description

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"... );

Change History

Changed 9 months ago by vipsoft

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

Changed 9 months ago by Sych

memcache session handler defined in php.ini

when ini_set commented piwik worked fine

Changed 9 months ago by vipsoft

  • milestone set to 1 - Piwik 0.4.1

Interesting.

Changed 9 months ago by vipsoft

  • status changed from new to closed
  • resolution set to fixed

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

Changed 9 months ago by vipsoft

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

Note: See TracTickets for help on using tickets.