Archive.php directly from browser or alternative?


(mahdi1234) #1

Hi there,

I have this situation - my site is hosted on shared hosting and piwik is basically not working correctly when generating reports on fly, thus I thought archive script would be great, however my host doesn’t allow run cli php, I can setup cron only to point directly to php file to be executed with no other parametrs.

So, is there a way how to run/alter the archive script to be run directly?

PS - as a workaround I’m currenly dumping sql and import on localhost, but that’s not really ideal.

thanks & cheers


(Matthieu Aubry) #2

I have added this functionnality in the archive.php: http://dev.piwik.org/trac/changeset/5823

HOWEVER you will need to pass the Super User token_auth as a parameter…


(mahdi1234) #3

Thanks.