Since updating to 1.6 only one out of 5 sites is tracking properly the others only show ‘visitors in real time’ in the dashboard and the visitor log everything else page titles, search engines etc is empty (No data for this graph). The one that works fine is the first site I added to Piwi.
I’ve checked that the tracking code is being outputted correctly and is just before the last /body tag, I’ve checked the htaccess files and they’re all the same and I don’t use https.
I’ve tried adding new sites but they will only show visitors in real time and nothing else and I’ve tried deleting the sites that don’t work and adding them again.
I set the cron to email me each time it runs -
With 5 * * * * www-data /home/myusername/public_html/misc/cron/archive.php /home/myusername/public_html/piwik.log I got permission denied (I checked that archive.php and the log file were both writeable)
With the normal cron job (5 * * * * www-data /path/to/piwik/misc/cron/archive.sh )
The email tells me that it’s archiving site id 2 (the one that works) and then at the end it says:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 71 bytes) in /home/me/public_html/core/DataTable.php on line 1022
I’ve updated to 1.7 and it’s managing to archive more on the cron before running out of memory so I get some stats but lots are missing e.g. keywords and search engines. however I can get these manually by temporarily switching to browser archiving. I guess it’s just too much memory for my web host to cope with