Errors after updating from Version 1.2.1 to Version 1.4


(r.cordes) #1

Hello PIWIK-Team,

after I updated from 1.2.1 to 1.4. (manually) there are a few error-messages. (I wasn’t asked to update the mysql-Database after restating my Piwik.)

  1. Instead of saying “about PIWIK 1.4”, it says about “PIWIK 1.1.1” when starting Piwik. Before the update it said: PIWIK 1.2.1., which was correct.

  2. Mainmenu Overview: Piwik doesn’t show “page view” and “view” Numbers anymore.

  3. Main Menu Visitors, submenu Visitors shows the following error:

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

Notice: Undefined index: serverTimePrettyFirstAction in /var/www/piwik/tmp/templates_c/%%46^462^46227F0A%%visitorLog.tpl.php on line 59

Backtrace -->
#0 Piwik_ErrorHandler(8, Undefined index: serverTimePrettyFirstAction, /var/www/piwik/tmp/templates_c/%%46^462^46227F0A%%visitorLog.tpl.php, 59, Array ([this] => Piwik_Smarty Object ([template_dir] => Array ([0] => /var/www/piwik/plugins,[1] => /var/www/piwik/themes/default,[2] => /var/www/piwik/themes),[compile_dir] => /var/www/piwik/tmp/templates_c,[config_dir] => configs,[plugins_dir] => Array ([0] => /var/www/piwik/core/SmartyPlugins,[1] => /var/www/piwik/libs/Smarty/plugins),[debugging] => ,[error_reporting] => 6143,[debug_tpl] => ,[debugging_ctrl] => NONE,[compile_check] => 1,[force_compile] => ,[caching] => 0,[cache_dir] => /var/www/piwik/tmp/cache,[cache_lifetime] => 3600,[cache_modified_check] => ,[php_handling] => 0,[security] => ,[secure_dir] => Array (),[security_settings] => Array ([PHP_HANDLING] => ,[IF_FUNCS] => Array ([0] => array,[1] => list,[2] => isset,[3] => empty,[4] => count,[5] => sizeof,[6] => in_array,[7] => is_array,[8] => true,[9] => false,[10] => null),[IN…#1 include(/var/www/piwik/tmp/templates_c/%%46^462^46227F0A%%visitorLog.tpl.php) called at [/var/www/piwik/libs/Smarty/Smarty.class.php:1263]#2 Smarty->fetch(Live/templates/visitorLog.tpl) called at [/var/www/piwik/core/View.php:172]#3 Piwik_View->render() called at [/var/www/piwik/core/Controller.php:141]#4 Piwik_Controller->renderView(Piwik_ViewDataTable_HtmlTable Object ([] => ,[arrayDataTable] => ,[] => Live/templates/visitorLog.tpl,[] => 1,[] => Array ([enable_sort] => false,[filter_sort_column] => idVisit,[filter_sort_order] => ASC,[filter_limit] => 20,[disable_generic_filters] => 1),[] => Array ([show_goals] => ,[show_search] => ,[show_table] => 1,[show_table_all_columns] => ,[show_all_views_icons] => ,[show_export_as_image_icon] => ,[show_export_as_rss_feed] => ,[show_exclude_low_population] => ,[show_offset_information] => ,[show_pagination_control] => 1,[show_footer] => 1,[show_footer_icons] => 1,[apiMethodToRequestDataTable] => Live.getLastVisitsDetails,[uniqueId] => LivegetVisitorLog),[] => 0,[] => Piwik_DataTable Object ([] => Array ([0] => Piwik_DataTable_Row Object ([c] => Array ([0] => Array ([ip] => 134.176.0.0,[idVisit] => 441068,[countActions] => 3,[isVisitorReturning] => 0,[country] => Deutschland,[countryFlag] => plugins/UserCountry/flags/de.png,[continent] => Euro…#5 Piwik_Live_Controller->getVisitorLog()#6 call_user_func_array(Array ([0] => Piwik_Live_Controller Object ([] => Live,[] => 2011-05-17,[] => Piwik_Date Object ([] => 1305651457,[] => UTC),[] => 1,[] => Piwik_Site Object ([] => 1),[minIdVisit] => 0),[1] => getVisitorLog), Array ()) called at [/var/www/piwik/core/FrontController.php:125]#7 Piwik_FrontController->dispatch() called at [/var/www/piwik/index.php:60]

  1. Mainmenu Visitors, submenu CustomVariables_CustomVariables shows the following error:

Fatal error: Call to undefined method Piwik_Archive::getdatatablefromarchive() in /var/www/piwik/plugins/CustomVariables/API.php on line 32

Every Number concerning the page view seems to have gone.

Any ideas?

I already tried to switch back to 1.2.1, but it does not work.

Thanx in advance for your help and greetings from Hannover, Germany


(Matthieu Aubry) #2

Make sure you upload all files correctly, then delete tmp/assets/


(r.cordes) #3

Thank you, after deleting tmp/assets/ it works!