Tracking Is Not Displaying any data


(NicoBach) #1

HI,

I just installed the latest copy of piwik, inserted the tracking javascript, and im not gettting any data in my analytics. please help!

below is a copy of my tracking javascript!

<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://www.edriveatc.com/analytics/" : "http://www.edriveatc.com/analytics/");
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://www.edriveatc.com/analytics/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tag -->

I activated the Live Widget and it seems to track my visit to the website, but everything else says No Data Available!

Please help me with this issue asap.

Thank you!


(Matthieu Aubry) #2

www.edriveatc.com/analytics/ returns forbidden error.


(NicoBach) #3

please go to www.edriveatc.com/analytics/piwik/

After i posted last post i re-uploaded and installed and changed the directory path! here is the tracking javascript!

<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://www.edriveatc.com/analytics/piwik/" : "http://www.edriveatc.com/analytics/piwik/");
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://www.edriveatc.com/analytics/piwik/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tag -->

I am currently tracking my website through another piwik analytics i have set up for another website. But i need to get the one that is not working, working as soon as possible!

Thank You,


(Thomas Seifert) #4

Well, that code is not added to the site, how should it be tracking?


(NicoBach) #5

I removed the code posted above and added another tracking code i have set up. I cant afford to loose data cause i have to send a report to my customers. The tracking code that is set up right now is under www.emagsearchnfind.com/analytics/piwik, that one is working fine. I just installed piwik under www.edriveatc.com/analytics/piwik and that one is not working, even when i insert the proper javascript tracking code.

i hope this made sense


(vipsoft) #6

I don’t see any obvious problems with the tracking code, and it looks like your Piwik installs are on the same box. Can you check your error logs on the web server?


(NicoBach) #7

something did show up in the error log for www.edriveatc.com/analytics/piwik/

i have attached the error log to this post!

How come that the piwik installation that i have under www.emagsearchnfind.com/analytics/piwik/ works fine and the one under www.edriveatc.com/analytics/piwik/ does not???

that are both hosted on the same server.

please let me know how i can go about fixing this problem. thank you!


(vipsoft) #8

You should have seen an installation warning about incompatible MySQL client/server versions.

I’m guessing one installation is using PDO_MYSQL and the other is using MYSQLI, and that the MYSQLI extension is linked against the incompatible client library, while PDO_MYSQL uses mysqlnd.

edit config/config.ini.php, and change “adapter=MYSQLI” to “adapter=PDO_MYSQL”


(NicoBach) #9

[quote=vipsoft @ Aug 18 2010, 06:51 AM]You should have seen an installation warning about incompatible MySQL client/server versions.

I’m guessing one installation is using PDO_MYSQL and the other is using MYSQLI, and that the MYSQLI extension is linked against the incompatible client library, while PDO_MYSQL uses mysqlnd.

edit config/config.ini.php, and change “adapter=MYSQLI” to “adapter=PDO_MYSQL”[/quote]

when i went through the installation i saw a warning about the PDO_MYSQL, so i changed it to MYSQLI during the installation.

I just now changed my config.ini.php file like you suggested and my analytics are working fine! thank you! style_emoticons/<#EMO_DIR#>/smile.gif