I noticed recently that my website dashboard shows zero visits on all sites (we have nearly 100 sites we are tracking), this seems to have happened after upgrading.
The piwik-archive.log shows the following error
Parse error: syntax error, unexpected T_STRING in /home/path/to/piwik//misc/cron/archive.php on line 12
With PHP5.5.7 I now have this error (if someone could help me) :
ERROR: The Piwik URL http://website/piwik/misc/cron/../../index.php does not seem to be pointing to a Piwik server. Response was ‘sh: /usr/local/php5.5.7/sbin/php-fpm: Permission denied’.
Thanks in advance
My original problem shown below is still occurring, I have PHP 5.4 running.
I noticed recently that my website dashboard shows zero visits on all sites (we have nearly 100 sites we are tracking), this seems to have happened after upgrading.
The piwik-archive.log shows the following error
Parse error: syntax error, unexpected T_STRING in /home/path/to/piwik//misc/cron/archive.php on line 12
I have updated to the Beta version as directed. I now get the following error and there are still ZERO visits showing in all reports etc
Warning: Unexpected character in input: ‘’ (ASCII=92) state=1 in /home/path/to/piwik/misc/cron/archive.php on line 44
Parse error: syntax error, unexpected T_STRING in /home/path/to/piwik//misc/cron/archive.php on line 44
Your urgent assistance with this would be appreciated.
By forcing the script to run on my host as php5.4 and not ‘assuming’ it’s already running it, it appears to work, the standard /usr/local/php calls php5.2 is seems and THAT is why the script was failing (even after you fixed the bugs in the code)
To confirm PHP5.4 works a dream with V2.1.1.1-b10 beta release
The archives are now working, meaning (when they finish) they will show the stats in the dashboard
(it’s been 82 days since the archive ran properly, so I guess it may take a while !!!)
Does not archive all my sites, I am finding it is skipping sites and showing zero visits on the dashboard, looking at the all websites view it looks like 50% of the sites I have running Piwik tracking code do not get any visits at all.
I played around with this last night and found that the only way I can get this to work fully is to run the cron as
I’m facing to that 2 errors when I’m trying to update Piwik with archive.php.
My problem is that my website is on a shared hosting and I can’t manage cron as I would like.