Cannot modify header information


#1

Hello,

at first there wasn’t a problem with piwik. But after one day, there was this error message. If I want to log in there are these messages:


Fehler: You must call Zend_Session::regenerateId()
before any output has been sent to the browser;
output started in /home/www/web48/html/piwik/lang/de.php/1


Warning: Cannot modify header information - headers already sent by (output started at /home/www/web48/html/piwik/lang/de.php:1) in /home/www/web48/html/piwik/core/Cookie.php on line 162

Backtrace -->
#0 Piwik_ErrorHandler(...) called at [:]
#1 header(...) called at [/home/www/web48/html/piwik/core/Cookie.php:162]
#2 Piwik_Cookie->setP3PHeader(...) called at [/home/www/web48/html/piwik/core/Cookie.php:192]
#3 Piwik_Cookie->save(...) called at [/home/www/web48/html/piwik/plugins/Login/Login.php:137]
#4 Piwik_Login->initSession(...) called at [:]
#5 call_user_func_array(...) called at [/home/www/web48/html/piwik/libs/Event/Dispatcher.php:284]
#6 Event_Dispatcher->postNotification(...) called at [/home/www/web48/html/piwik/core/PluginsManager.php:609]
#7 Piwik_PostEvent(...) called at [/home/www/web48/html/piwik/plugins/Login/Controller.php:157]
#8 Piwik_Login_Controller->authenticateAndRedirect(...) called at [/home/www/web48/html/piwik/plugins/Login/Controller.php:71]
#9 Piwik_Login_Controller->login(...) called at [/home/www/web48/html/piwik/plugins/Login/Controller.php:46]
#10 Piwik_Login_Controller->index(...) called at [:]
#11 call_user_func_array(...) called at [/home/www/web48/html/piwik/core/FrontController.php:138]
#12 Piwik_FrontController->dispatch(...) called at [/home/www/web48/html/piwik/core/Controller.php:632]
#13 Piwik_Controller->redirectToIndex(...) called at [/home/www/web48/html/piwik/plugins/CoreHome/Controller.php:42]
#14 Piwik_CoreHome_Controller->redirectToCoreHomeIndex(...) called at [:]
#15 call_user_func_array(...) called at [/home/www/web48/html/piwik/core/FrontController.php:138]
#16 Piwik_FrontController->dispatch(...) called at [/home/www/web48/html/piwik/index.php:53]


Warning: Cannot modify header information - headers already sent by (output started at /home/www/web48/html/piwik/lang/de.php:1) in /home/www/web48/html/piwik/core/Cookie.php on line 154

Backtrace -->
#0 Piwik_ErrorHandler(...) called at [:]
#1 header(...) called at [/home/www/web48/html/piwik/core/Cookie.php:154]
#2 Piwik_Cookie->setCookie(...) called at [/home/www/web48/html/piwik/core/Cookie.php:171]
#3 Piwik_Cookie->delete(...) called at [/home/www/web48/html/piwik/plugins/Login/Login.php:129]
#4 Piwik_Login->initSession(...) called at [:]
#5 call_user_func_array(...) called at [/home/www/web48/html/piwik/libs/Event/Dispatcher.php:284]
#6 Event_Dispatcher->postNotification(...) called at [/home/www/web48/html/piwik/core/PluginsManager.php:609]
#7 Piwik_PostEvent(...) called at [/home/www/web48/html/piwik/plugins/Login/Controller.php:157]
#8 Piwik_Login_Controller->authenticateAndRedirect(...) called at [/home/www/web48/html/piwik/plugins/Login/Controller.php:71]
#9 Piwik_Login_Controller->login(...) called at [/home/www/web48/html/piwik/plugins/Login/Controller.php:46]
#10 Piwik_Login_Controller->index(...) called at [:]
#11 call_user_func_array(...) called at [/home/www/web48/html/piwik/core/FrontController.php:138]
#12 Piwik_FrontController->dispatch(...) called at [/home/www/web48/html/piwik/core/Controller.php:632]
#13 Piwik_Controller->redirectToIndex(...) called at [/home/www/web48/html/piwik/plugins/CoreHome/Controller.php:42]
#14 Piwik_CoreHome_Controller->redirectToCoreHomeIndex(...) called at [:]
#15 call_user_func_array(...) called at [/home/www/web48/html/piwik/core/FrontController.php:138]
#16 Piwik_FrontController->dispatch(...) called at [/home/www/web48/html/piwik/index.php:53]

Any ideas?


(Matthieu Aubry) #2

The file langs/de.php seems corrupt? replace with http://dev.piwik.org/svn/trunk/lang/de.php


#3

thx