Trouble after update


#1

After updating to 2.0.3 at CentOS 6.5 Piwik crashed. I see a lot of error messages like this:


 There is an error. Please report the message and full backtrace in the Piwik forums (please do a Search first as it might have been reported already!).

Notice: Undefined index: hasSVGLogo in /var/www/html/piwik/tmp/templates_c/%%A9^A91^A917CA4A%%header.tpl.php on line 63

Backtrace -->
#0 Piwik_ErrorHandler(...) called at [/var/www/html/piwik/tmp/templates_c/%%A9^A91^A917CA4A%%header.tpl.php:63]#1 include(...) called at [/var/www/html/piwik/libs/Smarty/Smarty.class.php:1869]#2 Smarty->_smarty_include(...) called at [/var/www/html/piwik/tmp/templates_c/%%FD^FD1^FD195C96%%login.tpl.php:6]#3 include(...) called at [/var/www/html/piwik/libs/Smarty/Smarty.class.php:1263]#4 Smarty->fetch(...) called at [/var/www/html/piwik/core/View.php:139]#5 Piwik_View->render(...) called at [/var/www/html/piwik/plugins/Login/Controller.php:86]#6 Piwik_Login_Controller->login(...) called at [/var/www/html/piwik/plugins/Login/Controller.php:46]#7 Piwik_Login_Controller->index(...) called at [:]#8 call_user_func_array(...) called at [/var/www/html/piwik/core/FrontController.php:132]#9 Piwik_FrontController->dispatch(...) called at [/var/www/html/piwik/core/Controller.php:490]#10 Piwik_Controller->redirectToIndex(...) called at [/var/www/html/piwik/plugins/CoreHome/Controller.php:42]#11 Piwik_CoreHome_Controller->redirectToCoreHomeIndex(...) called at [:]#12 call_user_func_array(...) called at [/var/www/html/piwik/core/FrontController.php:132]#13 Piwik_FrontController->dispatch(...) called at [/var/www/html/piwik/index.php:53]

can you help me?


#2

Seems like a caching issue. Try flushing your tmp/* directory.

Please change your topic titel.


#3

Thank you for your answer, but now I see an other message at login screen:


SQLSTATE[42S22]: Column not found: 1054 Unknown column 'log_visit.location_continent' in 'field list'

Backtrace:

#0 /var/www/html/piwik/libs/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/www/html/piwik/libs/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /var/www/html/piwik/libs/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('????SELECT?????...', Array)
#3 /var/www/html/piwik/core/Db/Adapter/Pdo/Mysql.php(211): Zend_Db_Adapter_Pdo_Abstract->query('????SELECT?????...', Array)
#4 /var/www/html/piwik/core/ArchiveProcessing/Day.php(287): Piwik_Db_Adapter_Pdo_Mysql->query('????SELECT?????...', Array)
#5 /var/www/html/piwik/core/ArchiveProcessing/Day.php(428): Piwik_ArchiveProcessing_Day->queryVisitsByDimension('log_visit.locat...')
#6 /var/www/html/piwik/plugins/UserCountry/UserCountry.php(158): Piwik_ArchiveProcessing_Day->getArrayInterestForLabel('log_visit.locat...')
#7 /var/www/html/piwik/plugins/UserCountry/UserCountry.php(144): Piwik_UserCountry->archiveDayAggregateVisits(Object(Piwik_ArchiveProcessing_Day))
#8 [internal function]: Piwik_UserCountry->archiveDay(Object(Piwik_Event_Notification))
#9 /var/www/html/piwik/libs/Event/Dispatcher.php(284): call_user_func_array(Array, Array)
#10 /var/www/html/piwik/core/PluginsManager.php(609): Event_Dispatcher->postNotification(Object(Piwik_Event_Notification), false, false)
#11 /var/www/html/piwik/core/ArchiveProcessing/Day.php(42): Piwik_PostEvent('ArchiveProcessi...', Object(Piwik_ArchiveProcessing_Day))
#12 /var/www/html/piwik/core/ArchiveProcessing.php(440): Piwik_ArchiveProcessing_Day->compute()
#13 /var/www/html/piwik/core/Archive/Single.php(224): Piwik_ArchiveProcessing->launchArchiving()
#14 /var/www/html/piwik/core/Archive/Array/IndexedBySite.php(85): Piwik_Archive_Single->prepareArchive()
#15 /var/www/html/piwik/core/Archive/Array/IndexedBySite.php(58): Piwik_Archive_Array_IndexedBySite->getValues(Array)
#16 /var/www/html/piwik/plugins/VisitsSummary/API.php(79): Piwik_Archive_Array_IndexedBySite->getDataTableFromNumeric(Array)
#17 /var/www/html/piwik/plugins/MultiSites/Controller.php(64): Piwik_VisitsSummary_API->get('all', 'day', '2014-01-15', false, Array)
#18 /var/www/html/piwik/plugins/MultiSites/Controller.php(37): Piwik_MultiSites_Controller->getSitesInfo()
#19 [internal function]: Piwik_MultiSites_Controller->index()
#20 /var/www/html/piwik/core/FrontController.php(132): call_user_func_array(Array, Array)
#21 /var/www/html/piwik/index.php(53): Piwik_FrontController->dispatch()
#22 {main}

I don’t understand: why I should change the topic of the thread?

Peter


(Matthieu Aubry) #4

Reupload all files from Piwik 2.0.3 somes files not uploaded properply