No Analytic Recording After Upgrading to 1.8.4

Hi there,

I updated Piwik 4 days ago and since updating Piwik is not recording any hits or impressions at all. Google Adsense and DFP is recording traffic and there doesn’t appear to be any changes whats so ever.

I removed all Piwik files and tried a new installation using my current DB and issues still persit. It isn’t even detecting when I go onto the site and I am not using any DO NOT TRACK!

I have checked embed the new code on a blank page (as well as sites homepage) and still not detecting anything!

I am not sure what to do at all.

And for the record i’m hosting Piwik on another server however using a sub-domain and it is working accordingly and is accessible anywhere (even by using a VPN or Proxy).

Any ideas?

Also my Database is really large so I ran the Cron SQL update and it was successful when I updated, and the new Piwik installation is showing previous hits prior to me to updating!

Bruce had an issue that reminded me of this. How is the code being put on the page via an include?

What server specs are you running?

i have the same problem. I have not changed anything befor and after i have updated.
my trackingcode:


<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://piwik.website.com/" : "http://piwik.website.com/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://piwik.website.com/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tracking Code -->

thanks

the archive cron is not showing any error ?

Also what is your site URL ? does the piwik.php load (if you look using firebug: http://piwik.org/docs/tracking-api/reference/#toc-debugging-the-tracking-api-requests )

Finally, do you see any visitors in the visitor log or no data there neither for new visits ?

[quote=matt]
the archive cron is not showing any error ?[/quote]
i don’t have cronjobs

[quote=matt]
Also what is your site URL ? does the piwik.php load (if you look using firebug: http://piwik.org/docs/tracking-api/reference/#toc-debugging-the-tracking-api-requests )[/quote]
the website is http://www.franziska-hebamme.de/ and piwik.php load.

[quote=matt]
Finally, do you see any visitors in the visitor log or no data there neither for new visits ?[/quote]
in the piwik db i have sice 4.9.12 no data for new visits.

i hope i could answer your question.

The problem is that piwik.php returns a error 500: http://piwik.franziska-hebamme.de/piwik.php?action_name=Willkommen&idsite=3&rec=1&r=625393&h=19&m=6&s=7&url=http%3A%2F%2Fwww.franziska-hebamme.de%2F&_id=1&_idts=1347951968&_idvc=1&_idn=1&_refts=0&_viewts=13451968&pdf=0&qt=0&realp=0&wma=0&dir=0&fla=1&java=0&gears=0&ag=0&cookie=1&res=1600x900

look in your server error log files for indication of problem, or ask your webhost, this is a server issue which can be corrected.

I have same problem, after upgrading 1.8.3 -> 1.8.4 no stats are recording, i see the old Log, but no new recodings.

[quote=matt]
The problem is that piwik.php returns a error 500: http://piwik.franziska-hebamme.de/piwik.php?action_name=Willkommen&idsite=3&rec=1&r=625393&h=19&m=6&s=7&url=http%3A%2F%2Fwww.franziska-hebamme.de%2F&_id=1&_idts=1347951968&_idvc=1&_idn=1&_refts=0&_viewts=13451968&pdf=0&qt=0&realp=0&wma=0&dir=0&fla=1&java=0&gears=0&ag=0&cookie=1&res=1600x900

look in your server error log files for indication of problem, or ask your webhost, this is a server issue which can be corrected.[/quote]

sorry, but i can’t reproduce an error 500. i can load it. and my errorlog show nothig.

but i have deactivate the GeoIP plugin and it works fine.
you know bugs with piwik 1.8.4 an GeoIP plugin?

edit: i have GeoIP 0.17. and the the current version is 0.18. i want update it and report.

edit2: i updated GeoIP but i have the same problem. piwik don’t work with active plugin.
matt do you have an idea?

I dont have geoip plugin, but the problem still exists…

Hi just a shot in teh dark but maybe lucky.

Did either of you check to see how you are pulling the piwik code on your pages? There was one case recently where the code was being pulled in via an include and for some odd reason the apache server had the processing of html includes turned off. once turned back on piwik code started to report correctly.

@ lesjokolat
how can i check that? I mean php include function is working on my server.

that is part of the http.conf file for the apache server. If its off and you are using an include for your site to generate piwik code then perhaps that is why pages appear to not work when you re piwik seems to be installed correctly.

The problem is not an include not working since the JS code appears in the pages. Tracking look slike it’s working. Do you see any visitors in the visitor log ?

i do see the old visitors in visitor log, but after update i dont have no new visitors. only the old one.

i have to say that i updated mysql manually, because i dont have acces to console.

can you enable DEBUG as per: http://piwik.org/docs/tracking-api/reference/#toc-debugging-the-tracking-api-requests

then visit eg. http://piwik.franziska-hebamme.de/piwik.php?action_name=Willkommen&idsite=3&rec=1&r=625393&h=19&m=6&s=7&url=http%3A%2F%2Fwww.franziska-hebamme.de%2F&_id=1&_idts=1347951968&_idvc=1&_idn=1&_refts=0&_viewts=13451968&pdf=0&qt=0&realp=0&wma=0&dir=0&fla=1&java=0&gears=0&ag=0&cookie=1&res=1600x900

and see the message output ? is there any error ?

i dont see any errors. here is the Output:


Debug enabled - Input parameters: <br/>array ( 'action_name' => 'Willkommen', 'idsite' => '3', 'rec' => '1', 'r' => '625393', 'h' => '19', 'm' => '6', 's' => '7', 'url' => 'http://www.franziska-hebamme.de/', '_id' => '1', '_idts' => '1347951968', '_idvc' => '1', '_idn' => '1', '_refts' => '0', '_viewts' => '13451968', 'pdf' => '0', 'qt' => '0', 'realp' => '0', 'wma' => '0', 'dir' => '0', 'fla' => '1', 'java' => '0', 'gears' => '0', 'ag' => '0', 'cookie' => '1', 'res' => '1600x900', )
Loading plugins: { Provider,DoNotTrack,Goals }
Current datetime: 2012-09-19 10:59:28
-> Scheduled tasks not triggered.
Next run will be from: 2012-09-19 11:24:20 UTC
Nothing to notice => default behaviour
End of the page.

at the moment it works because i deaktivate the geoip plugin.
i want to try it and post the report

but i dont have geoip plugin installed, everything seems to work, except piwik doesnt track new visits…

Can you try disable the DoNotTrack and Provider plugins ?