After Updating to Piwik 1.11.1 I have changed the tracking code in my websites. Basically I have copy and past the code from the user settings in all of my documents.
No visitor is recordet. The position is correct as the old code is working correctly.
If the new code is installed in pages on the same server like piwik itself it works correctly.
Firebug gives the below warnings:
TypeError: function g does not always return a value
[Bei diesem Fehler anhalten]
I did what you told. Removed the minus in the file name and put in the piwik code again. And it worked (at least I thought so).
But than I realized that I forgot to put the noscript tags around the image tracker.
After I corrected it - the same problem, no tracking!
That means in generall piwik works. There must be something wrong with the tracking code?
Do you have browser archiving turned on? If not please setup cron archiving. The tracking code definitely works as it sends the tracking information to piwik.php.
If you have checked the side I hope you have seen that I have the tracking code 2 times in the page for 2 different server where different versions of piwik are installed.
No I am checking from the external side with different IP from all over the world. Different Browser connected with VPN or remote. My own browser has the cockie not to be tracked.
During all the frustration I have uploaded Piwik completely new. It came some error during the installation which all have been fixed. If I now run the diagnostic tool on the weblogin I am getting 1 error:
gzcompress
You need to enable the zlib extension and gzcompress function.
zlib is tagged as active. But this file should handle only the compression and should mostly have only an effect on the Piwik Webpage. Does the new code requires compression? The old code works still fine!
No, if I mean active I mean it has a green tick in the Diagnostic/System Check of Piwik administration. PHP is 5.1.3RC. It is a shared host and I do not have any access to the server configuration.
so far I do not want to upload a beta version. I do not have so much time in the next few days to solve any other big error. (I have to leave my apparment and try to find a new one). Later I will try it.
But I found another interesting thing: If I check the PHP version with the system tools of Piwik I am getting PHP 5.1.3RC.
If I call the phpinfo file it shows PHP Version 5.3.16.
Could it be that there are some files of Piwik not correctly updated? (gzcompress by the way is not activated and will not be because it did not work)