Quantcast
Viewing all articles
Browse latest Browse all 4243

Console error when using cron to auto-archive (no replies)

Using Piwik 2.4.0-b5 and running a cron job in cPanel to auto archive as per the instructions in the Piwik docs section.

This is the job...

/usr/local/bin/php -f /home/user/public_html/analytics/console core:archive --url=http://www.analytics.domain.com/ > /home/user/public_html/analytics/piwik-archive-output.log

I get this in the piwik-archive-output.log

Warning: Unexpected character in input:  '\' (ASCII=92) state=1 in /home/user/public_html/analytics/console on line 23

Parse error: syntax error, unexpected T_STRING in /home/user/public_html/analytics/console on line 23

Line 23 of that file is

Piwik\Translate::loadEnglishTranslation();

Viewing all articles
Browse latest Browse all 4243

Trending Articles