Hi Matt,
I had a similar issue when I upgraded from 1.8.3 to 1.8.4.
I’m using no extension, no nothing, just the plain product as shipped.
My config:
- PHP: 5.2.17
- MySQL: 5.0.95-log
I’ve been going through the various steps you suggested above, incl. migrating to 1.9-b13, but this hasn’t helped me out so far.
After patching core/DataTable/Renderer/Xml.php, I can see the following in the first widget (top left) of the default homepage:
::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::
SQLSTATE[42S22]: Column not found: 1054 Unknown column ‘log_action.url_prefix’ in ‘field list’
Backtrace:
#0 /piwik/libs/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->execute(Array)
#1 /piwik/libs/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#2 /piwik/libs/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(’???SELECT???..’, Array)
#3 /piwik/core/Db/Adapter/Pdo/Mysql.php(220): Zend_Db_Adapter_Pdo_Abstract->query(’???SELECT???..’, Array)
#4 /piwik/plugins/Actions/Archiving.php(394): Piwik_Db_Adapter_Pdo_Mysql->query(’???SELECT???..’, Array)
#5 /piwik/plugins/Actions/Archiving.php(136): Piwik_Actions_Archiving->archiveDayQueryProcess(‘log_action.name…’, Array, 'log_link_visit…’, ’12
DESC, name…’, ‘log_action.idac…’, ‘idaction_url’, Object(Piwik_ArchiveProcessing_Day), Object(Piwik_RankingQuery))
#6 /piwik/plugins/Actions/Archiving.php(85): Piwik_Actions_Archiving->archiveDayActions(Object(Piwik_ArchiveProcessing_Day), ‘50000’)
#7 /piwik/plugins/Actions/Actions.php(450): Piwik_Actions_Archiving->archiveDay(Object(Piwik_ArchiveProcessing_Day))
#8 [internal function]: Piwik_Actions->archiveDay(Object(Piwik_Event_Notification))
#9 /piwik/libs/Event/Dispatcher.php(284): call_user_func_array(Array, Array)
#10 /piwik/core/PluginsManager.php(668): Event_Dispatcher->postNotification(Object(Piwik_Event_Notification), false, false)
#11 /piwik/core/ArchiveProcessing/Day.php(45): Piwik_PostEvent(‘ArchiveProcessi…’, Object(Piwik_ArchiveProcessing_Day))
#12 /piwik/core/ArchiveProcessing.php(498): Piwik_ArchiveProcessing_Day->compute()
#13 /piwik/core/Archive/Single.php(236): Piwik_ArchiveProcessing->launchArchiving()
#14 /piwik/core/Archive/Single.php(266): Piwik_Archive_Single->prepareArchive()
#15 /piwik/core/Archive/Single.php(462): Piwik_Archive_Single->get(‘nb_visits’, ‘numeric’)
#16 /piwik/core/ArchiveProcessing/Period.php(95): Piwik_Archive_Single->getNumeric(‘nb_visits’)
#17 /piwik/core/ArchiveProcessing/Period.php(49): Piwik_ArchiveProcessing_Period->archiveNumericValuesGeneral(Array, ‘sum’)
#18 /piwik/core/ArchiveProcessing/Period.php(302): Piwik_ArchiveProcessing_Period->archiveNumericValuesSum(Array)
#19 /piwik/core/ArchiveProcessing/Period.php(269): Piwik_ArchiveProcessing_Period->isThereSomeVisits()
#20 /piwik/core/ArchiveProcessing.php(498): Piwik_ArchiveProcessing_Period->compute()
#21 /piwik/core/Archive/Single.php(236): Piwik_ArchiveProcessing->launchArchiving()
#22 /piwik/core/Archive/Array/IndexedByDate.php(90): Piwik_Archive_Single->prepareArchive()
#23 /piwik/plugins/VisitsSummary/API.php(88): Piwik_Archive_Array_IndexedByDate->getDataTableFromNumeric(Array)
#24 [internal function]: Piwik_VisitsSummary_API->get(‘1’, ‘week’, ‘2012-04-16,2012…’, false, ‘nb_visits’)
#25 /piwik/core/API/Proxy.php(190): call_user_func_array(Array, Array)
#26 /piwik/plugins/API/API.php(1045): Piwik_API_Proxy->call(‘Piwik_VisitsSum…’, ‘get’, Array)
#27 [internal function]: Piwik_API_API->get(‘1’, ‘week’, ‘2012-04-16,2012…’, false, ‘nb_visits’)
#28 /piwik/core/API/Proxy.php(190): call_user_func_array(Array, Array)
#29 /piwik/core/API/Request.php(128): Piwik_API_Proxy->call(‘Piwik_API_API’, ‘get’, Array)
#30 /piwik/core/ViewDataTable.php(425): Piwik_API_Request->process()
#31 /piwik/core/ViewDataTable/GenerateGraphData/ChartEvolution.php(109): Piwik_ViewDataTable->loadDataTableFromAPI()
#32 /piwik/core/ViewDataTable/GenerateGraphData.php(181): Piwik_ViewDataTable_GenerateGraphData_ChartEvolution->loadDataTableFromAPI()
#33 /piwik/core/Controller.php(236): Piwik_ViewDataTable_GenerateGraphData->main()
#34 /piwik/plugins/VisitsSummary/Controller.php(78): Piwik_Controller->getLastUnitGraphAcrossPlugins(‘VisitsSummary’, ‘getEvolutionGra…’, Array, Array, ‘Ceci est un ape…’)
#35 [internal function]: Piwik_VisitsSummary_Controller->getEvolutionGraph()
#36 /piwik/core/FrontController.php(138): call_user_func_array(Array, Array)
#37 /piwik/core/FrontController.php(160): Piwik_FrontController->dispatch(‘VisitsSummary’, ‘getEvolutionGra…’, Array)
#38 /piwik/core/ViewDataTable/GenerateGraphHTML.php(187): Piwik_FrontController->fetchDispatch(‘VisitsSummary’, ‘getEvolutionGra…’, Array)
#39 /piwik/core/ViewDataTable/GenerateGraphHTML.php(141): Piwik_ViewDataTable_GenerateGraphHTML->getGraphData()
#40 /piwik/core/ViewDataTable/GenerateGraphHTML.php(125): Piwik_ViewDataTable_GenerateGraphHTML->buildView()
#41 /piwik/core/Controller.php(236): Piwik_ViewDataTable_GenerateGraphHTML->main()
#42 /piwik/plugins/VisitsSummary/Controller.php(78): Piwik_Controller->getLastUnitGraphAcrossPlugins(‘VisitsSummary’, ‘getEvolutionGra…’, Array, Array, ‘Ceci est un ape…’)
#43 [internal function]: Piwik_VisitsSummary_Controller->getEvolutionGraph()
#44 /piwik/core/FrontController.php(138): call_user_func_array(Array, Array)
#45 /piwik/index.php(53): Piwik_FrontController->dispatch()
#46 {main}
::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::~::
Note - The patch on RankingQuery.php doesn’t work for me, as it generates a syntax error, probably because of the old version of MySQL I have:
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHEN counter = 50001 THEN ‘-1’ ’ at line 4
Being dependent on my host, I have no means to upgrade MySQL.
Anything you can think of to help me?
Thanks in advance.