Closed (fixed)
Project:
Piwik Web Analytics
Version:
6.x-2.0
Component:
Code
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Feb 2011 at 00:18 UTC
Updated:
21 Feb 2011 at 23:20 UTC
I've updated to 6.x-2.0 version on first february, and since that date my Piwik installation stop tracking content. I've installed an instance of piwik on my website.
Module is using asynchronous mode,I checked the code and seems equal to the code specified on Piwik website ( http://piwik.org/docs/javascript-tracking/#toc-asynchronous-tracking ).
Now I've disabled the module and used the sunchronous code.
| Comment | File | Size | Author |
|---|---|---|---|
| statistics from my piwik installation | 6.92 KB | end0rama |
Comments
Comment #1
hass commentedNeeds link to site in question with piwik module 2.0 installed. Please also tell me your piwik version. I have tested with piwik 1.1.1 and it worked. You ran the update hooks?
Comment #2
j0nathan commentedHi,
Same issue since I updated to 6.x-2.0 on February 2nd: 0 visit registered in the Piwik server.
module Piwik Web analytics 6.x-2.0
with Piwik 1.1.1
Site in question with piwik module 2.0 installed: http://cdhal.org
Comment #3
hass commentedI cannot see anything wrong in the tracker code... Can you try disabling local caching first, please?
Comment #4
j0nathan commentedI disabled the core Drupal caching mode (admin/settings/performance) and "Boost - Static page cache" (admin/settings/performance/boost). I removed the check mark to "Cache tracking code file locally" (admin/settings/piwik).
Comment #5
hass commentedTried it again on my own site and it works, well.
I guess I found the source of this issue. It's not the local piwik JS file caching itself, but there seems to be an outdated piwik version on your server. Your piwik.js starts with:
but mine with:
Your Piwik Server is therefore not the latest v1.1.1 or at least v1.1 that is rated critical (security issues)! Open the https://[mypiwikserver]/piwik.js file in the piwik server root and you see it does not start with the same like mine... Piwik 1.1 seems to be required. As per http://piwik.org/changelog/ says 1.1 is the first version with Asynchronous Piwik Tracking. So, this is now required.
Aside J0nathan, your site is really awful ***slow***... 27s to load the frontpage - horrible!
Comment #6
hass commentedAdded into known issues section on project home.
Comment #7
j0nathan commentedIt works now.
What happened is the server side was telling me it's at version 1.1.1. Since a couple of versions, I updated it automatically with the functionality in the Piwik server. But it seems it didn't it well. It didn't updated the file piwik.js. So I re-installed the last version 1.1.1 and I copied the file config.ini.php like the old way to update Piwik server. I re-enabled all caching on the Drupal site and I can see visits for today.
Thanks hass
Sorry for the latency of the site, this is a big one and we are working on this :)
Comment #8
end0rama commentedOk I've updated Piwik to 1.1.1 from 1.0 and now works again!
Thanks for the support!