@anonymous-piwik-user opened this Issue on December 23rd 2013

After updating Piwik from 2.0 to 2.0.2 Piwik is completely broken. The following error message is shown when trying to access the login:

Deprecated: Assigning the return value of new by reference is deprecated in /usr/local/lib/php/Log.php on line 120

WARN Piwik\Session[2013-12-19 09:20:02] [ac818] Unable to start session: Session must be started before any output has been sent to the browser; output started in /usr/local/lib/php/Log.php/120

Piwik # Web Analytics

Error: Unable to start session. Please check that the web server has enough permission to write to these files/directories:
For example, on a Linux server if your Apache httpd user is www-data, you can try to execute:
chown -R www-data:www-data /kunden/138225_47506/webseiten/XXX/piwik/tmp/sessions/
chmod -R 0755 /kunden/138225_47506/webseiten/XXX/piwik/tmp/sessions/

If you still experience issues after trying these changes, we recommend that you enable database session storage.

Debug: the original error was 
Session must be started before any output has been sent to the browser; output started in /usr/local/lib/php/Log.php/120

Uncommenting line 13 on core/Error.php seems like a suitable workaround.
Keywords: Piwik update broken

@anonymous-piwik-user commented on December 23rd 2013

Changing line 13 of core/Error.php to

require_once(dirname(__FILE__).'/Log.php');

should fix the problem.

@mattab commented on December 25th 2013 Owner

In 58ee8846720a23044695671564291ce31327eab2: fixes #4427 prefix path was missing

This Issue was closed on December 25th 2013
Powered by GitHub Issue Mirror