Piwik_Session->start() doesn't work correctly under Debian or Ubuntu #2112
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
worksforme
The issue cannot be reproduced and things work as intended.
Milestone
The following code never works under Debian because session_path (/var/lib/php5/) is writeable by PHP but not readable for security reasons (chmod drwx-wx-wt):
if(ini_get('safe_mode') || ini_get('open_basedir') || empty($sessionPath) || !@is_readable($sessionPath) || !@is_writable($sessionPath))
Hence, all sessions files go to tmp/sessions which fails to work on a load balanced architecture.
The text was updated successfully, but these errors were encountered: