Quantcast
Channel: Support & Bugs - Matomo forums
Viewing all articles
Browse latest Browse all 5706

Error cron job 'Got invalid response from API request'

$
0
0

@Brigitte_Dekker wrote:

Hi,

we have installed Piwik 2.15.0, but when we tried to run a cron job it gave us this error back:

ERROR [2015-12-27 13:45:01] Empty or invalid response 'Got invalid response from API request: http:///piwik/? module=API&method=API.get&idSite=1&period=day&date=last4&format=php&trigger=archivephp&token_auth=removed. Response was 'curl_exec: Couldn't resolve host 'http'. Hostname requested was: '' for website id 1, Time elapsed: 0.219s, skipping

The cron job:
/usr/local/bin/php /home/MYSITE/public_html/piwik/console core:archive --url=http:///piwik/

does anybody have the same problem and/or does somebody know a way to fix this error?

Thanks!

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 5706

Trending Articles