We recently upgraded PHP from 5.2 to 5.4.24. Upon updating, we’ve had an issue which makes it appear that no visits are bring tracked. HOWEVER, it also appears that visitors are being accounted for somehow: They DO show up in the real-time stats. They just don’t show up in the “Visits Over Time” area on the dashboard.
What I’ve tried so far:
-Deleting contents of the tmp folder
-Upgrading Piwik from 2.0-b12 to 2.0.3 stable
Does anyone have any suggestions that could help remedy the situation we’re experiencing? Thanks in advance!
Update: I figured out what the problem was…the cron I had that was running archive.php wasn’t doing anything anymore. The cron itself is working fine–the FILE, however, gives me a 403 error if I try to access it from a browser. I temporarily turned archiving on for browser views, and the data appeared in the visits graph.
I suppose the question now would be how to get that cron running again, when accessing the file results in a 403? Ownership and permissions are same as ever before. Files are all 644, same as before.
Good call on the permissions. I’m thinking it’s an Apache thing, though…if I remove the .htaccess in the /misc directory, the file is reachable. Reading around, it looks like in Apache 2.4 I might need to tweak it, so I’m going to play around with that for a while…
Good idea. I think there might be something else at work, though. I checked back on a manually accessed archive.php after disabling the .htaccess temporarily and saw this error message: