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
Changing line 13 of core/Error.php to
should fix the problem.
In 58ee8846720a23044695671564291ce31327eab2: fixes #4427 prefix path was missing