Not letting me login

I was trying to add city and zip code to Geoip and I am coming up with these errors on attempting to login in as super user.

Any help would be greatly appreciated.

stapuff106

Error: You must call Zend_Session::regenerateId() before any output has been sent to the browser; output started in /home/kaden106/datatracker/plugins/GeoIP/GeoIP.php/1

There is an error. Please report the message and full backtrace in the Piwik forums.

Warning: Cannot modify header information - headers already sent by (output started at /home/kaden106/datatracker/plugins/GeoIP/GeoIP.php:1) in /home/kaden106/datatracker/core/Cookie.php on line 153

Backtrace -->
#0 Piwik_ErrorHandler(2, Cannot modify header information - headers already sent by (output started at /home/kaden106/datatracker/plugins/GeoIP/GeoIP.php:1), /home/kaden106/datatracker/core/Cookie.php, 153, Array ()) called at [(null):0]#1 header(P3P: CP=‘OTI DSP COR NID STP UNI OTPa OUR’) called at [/home/kaden106/datatracker/core/Cookie.php:153]#2 Piwik_Cookie->setP3PHeader() called at [/home/kaden106/datatracker/core/Cookie.php:183]#3 Piwik_Cookie->save() called at [/home/kaden106/datatracker/plugins/Login/Login.php:133]#4 Piwik_Login->initSession(Piwik_Event_Notification Object ([_notificationName] => Login.initSession,[_notificationObject] => Array ([login] => coderneeded,[md5Password] => 17b0ebf393b69ead04db89664976c6fc,[rememberMe] => ),[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 0)) called at [(null):0]#5 call_user_func_array(Array ([0] => Piwik_Login Object (),[1] => initSession), Array ([0] => Piwik_Event_Notification Object ([_notificationName] => Login.initSession,[_notificationObject] => Array ([login] => coderneeded,[md5Password] => 17b0ebf393b69ead04db89664976c6fc,[rememberMe] => ),[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 0))) called at [/home/kaden106/datatracker/libs/Event/Dispatcher.php:284]#6 Event_Dispatcher->postNotification(Piwik_Event_Notification Object ([_notificationName] => Login.initSession,[_notificationObject] => Array ([login] => coderneeded,[md5Password] => 17b0ebf393b69ead04db89664976c6fc,[rememberMe] => ),[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 0), 1, ) called at [/home/kaden106/datatracker/core/PluginsManager.php:531]#7 Piwik_PostEvent(Login.initSession, Array ([login] => coderneeded,[md5Password] => 17b0ebf393b69ead04db89664976c6fc,[rememberMe] => )) called at [/home/kaden106/datatracker/plugins/Login/Controller.php:128]#8 Piwik_Login_Controller->authenticateAndRedirect(coderneeded, 17b0ebf393b69ead04db89664976c6fc, ) called at [/home/kaden106/datatracker/plugins/Login/Controller.php:53]#9 Piwik_Login_Controller->login() called at [/home/kaden106/datatracker/plugins/Login/Controller.php:28]#10 Piwik_Login_Controller->index() called at [(null):0]#11 call_user_func_array(Array ([0] => Piwik_Login_Controller Object ([] => Login,[] => ,[] => ,[] => 0,[] => ),[1] => index), Array ()) called at [/home/kaden106/datatracker/core/FrontController.php:125]#12 Piwik_FrontController->dispatch(Login, ) called at [/home/kaden106/datatracker/core/Controller.php:434]#13 Piwik_Controller->redirectToIndex(CoreHome, index) called at [/home/kaden106/datatracker/plugins/CoreHome/Controller.php:41]#14 Piwik_CoreHome_Controller->redirectToCoreHomeIndex() called at [(null):0]#15 call_user_func_array(Array ([0] => Piwik_CoreHome_Controller Object ([] => CoreHome,[] => ,[] => ,[] => 0,[] => ),[1] => redirectToCoreHomeIndex), Array ()) called at [/home/kaden106/datatracker/core/FrontController.php:125]#16 Piwik_FrontController->dispatch() called at [/home/kaden106/datatracker/index.php:60]

There is an error. Please report the message and full backtrace in the Piwik forums.

Warning: Cannot modify header information - headers already sent by (output started at /home/kaden106/datatracker/plugins/GeoIP/GeoIP.php:1) in /home/kaden106/datatracker/core/Cookie.php on line 145

Backtrace -->
#0 Piwik_ErrorHandler(2, Cannot modify header information - headers already sent by (output started at /home/kaden106/datatracker/plugins/GeoIP/GeoIP.php:1), /home/kaden106/datatracker/core/Cookie.php, 145, Array ([Name] => piwik_auth,[Value] => login=ImNvZGVybmVlZGVkIg==:token_auth=ImYxMGE0MjEwZjcxMjA3MWM2NmU4ZjI4MjA1MDVlZTA4Ig==:=969e0ffde07e14315d3794a17f7d98eaa1d568ea,[Expires] => 0,[Path] => ,[Domain] => ,[Secure] => ,[HTTPOnly] => ,[header] => Set-Cookie: piwik_auth=login%3DImNvZGVybmVlZGVkIg%3D%3D%3Atoken_auth%3DImYxMGE0MjEwZjcxMjA3MWM2NmU4ZjI4MjA1MDVlZTA4Ig%3D%3D%3A%3D969e0ffde07e14315d3794a17f7d98eaa1d568ea)) called at [(null):0]#1 header(Set-Cookie: piwik_auth=login%3DImNvZGVybmVlZGVkIg%3D%3D%3Atoken_auth%3DImYxMGE0MjEwZjcxMjA3MWM2NmU4ZjI4MjA1MDVlZTA4Ig%3D%3D%3A_%3D969e0ffde07e14315d3794a17f7d98eaa1d568ea, ) called at [/home/kaden106/datatracker/core/Cookie.php:145]#2 Piwik_Cookie->setCookie(piwik_auth, login=ImNvZGVybmVlZGVkIg==:token_auth=ImYxMGE0MjEwZjcxMjA3MWM2NmU4ZjI4MjA1MDVlZTA4Ig==:_=969e0ffde07e14315d3794a17f7d98eaa1d568ea, 0, , , , ) called at [/home/kaden106/datatracker/core/Cookie.php:184]#3 Piwik_Cookie->save() called at [/home/kaden106/datatracker/plugins/Login/Login.php:133]#4 Piwik_Login->initSession(Piwik_Event_Notification Object ([_notificationName] => Login.initSession,[_notificationObject] => Array ([login] => coderneeded,[md5Password] => 17b0ebf393b69ead04db89664976c6fc,[rememberMe] => ),[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 0)) called at [(null):0]#5 call_user_func_array(Array ([0] => Piwik_Login Object (),[1] => initSession), Array ([0] => Piwik_Event_Notification Object ([_notificationName] => Login.initSession,[_notificationObject] => Array ([login] => coderneeded,[md5Password] => 17b0ebf393b69ead04db89664976c6fc,[rememberMe] => ),[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 0))) called at [/home/kaden106/datatracker/libs/Event/Dispatcher.php:284]#6 Event_Dispatcher->postNotification(Piwik_Event_Notification Object ([_notificationName] => Login.initSession,[_notificationObject] => Array ([login] => coderneeded,[md5Password] => 17b0ebf393b69ead04db89664976c6fc,[rememberMe] => ),[_notificationInfo] => Array (),[_notificationState] => 0,[_notificationCount] => 0), 1, ) called at [/home/kaden106/datatracker/core/PluginsManager.php:531]#7 Piwik_PostEvent(Login.initSession, Array ([login] => coderneeded,[md5Password] => 17b0ebf393b69ead04db89664976c6fc,[rememberMe] => )) called at [/home/kaden106/datatracker/plugins/Login/Controller.php:128]#8 Piwik_Login_Controller->authenticateAndRedirect(coderneeded, 17b0ebf393b69ead04db89664976c6fc, ) called at [/home/kaden106/datatracker/plugins/Login/Controller.php:53]#9 Piwik_Login_Controller->login() called at [/home/kaden106/datatracker/plugins/Login/Controller.php:28]#10 Piwik_Login_Controller->index() called at [(null):0]#11 call_user_func_array(Array ([0] => Piwik_Login_Controller Object ([] => Login,[] => ,[] => ,[] => 0,[] => ),[1] => index), Array ()) called at [/home/kaden106/datatracker/core/FrontController.php:125]#12 Piwik_FrontController->dispatch(Login, ) called at [/home/kaden106/datatracker/core/Controller.php:434]#13 Piwik_Controller->redirectToIndex(CoreHome, index) called at [/home/kaden106/datatracker/plugins/CoreHome/Controller.php:41]#14 Piwik_CoreHome_Controller->redirectToCoreHomeIndex() called at [(null):0]#15 call_user_func_array(Array ([0] => Piwik_CoreHome_Controller Object ([] => CoreHome,[] => ,[] => ,[] => 0,[] => ),[1] => redirectToCoreHomeIndex), Array ()) called at [/home/kaden106/datatracker/core/FrontController.php:125]#16 Piwik_FrontController->dispatch() called at [/home/kaden106/datatracker/index.php:60]

I did not find a fix for this and it doesn’t matter specifically for me anymore. I dumped Piwik and reloaded it from scratch. Started new. Takes 5 minutes to install and the “fixes” i did previous did not take that long anyway. Lost some data, but could have prevented that if I wanted also.

Thanks,

stapuff106