Piwik doesn't count after 1.9 update


I updated this morning to 1.9 version. After that, there has not been any visit recorded. I have checked the datadase, and no record have been added to piwik_log_visit table since then,

I do the tracking for Joomla and Wordpress by using plugins, and html sites by adding code, and all of them fail.

Does anybody have any suggestion?


Check the server error logs on your web server, does it contain any error ?

what is your website URL ? You can enable debug: http://piwik.org/docs/tracking-api/reference/#toc-debugging-the-tracking-api-requests

I have discovered my error. I was revising all logs, from apache, from plesk (the manager of my server), and so on, and no reference to piwik. I also enabled piwik debug, and no output in any place. Al last, I looked at the tracking using firebug, and the track was empty. But I realized that the request was sent always to http://piwik.myserver.com and piwik was installed at https://piwik.myserver.com

I modified the plugin to force the connection to https piwik server and… Voila! It worked.

When I connect to piwik, I always connect to https server. But I have piwik files in both places, http and https. It seems I installed Piwik in both places, httpdocs and httpsdocs. But it has been working until today.

So, is ir correct to have all the piwik files in http and https? Should I delete the http files? Or should I update the files I have in the http site?

Thank you, Matt, for your firebug suggestion. It has been the key to discover the error.

Same here, site accessible into http AND https.
Site tracked:
Piwik http/https:

How enable the debug?

https://stat.first-world.info/ doesn’t have a valid ssl certificate. Its either a self signed one or not working one. That way tracking won’t work for ssl pages.

I know, but all tracking not work (99% of my trafic is into http). The https is just for me.

Note: I have large site, then I use cron.

see Troubleshooting - Analytics Platform - Matomo

I have just:
PHP Fatal error: Class ‘Piwik_UserCountry_LocationProvider’ not found in /home/first-world.info/stat/core/Tracker/Visit.php on line 609

see solution in Error: Class 'Piwik_UserCountry_LocationProvider' not found · Issue #3452 · matomo-org/matomo · GitHub

I have see that’s. It’s incredible that’s each major update of piwik product tracking problem.

my piwik after update to 1.9 does not count anymore