depuis la mise à jour en v2.1.0 de Piwik, j’ai cette erreur avec l’excecution d’une tache cron :
Running Piwik 2.1.0 as Super User: **********************************************
ERROR: Got invalid response from API request: http://www.adressedupiwik/misc/cron/../../index.php?module=API&method=API.getDefaultMetricTranslations&format=original&serialize=1&trigger=archivephp. Response was '<br /><b>Parse error</b>: syntax error, unexpected T_STRING in <b>/chemin/misc/cron/archive.php</b> on line <b>12</b><br />'
ERROR: The Piwik URL http://www.adressedupiwik/misc/cron/../../index.php does not seem to be pointing to a Piwik server. Response was ''.
Si vous avez une idée du pourquoi, je suis preneur ^^
Merci d’avance pour votre aide.
I’m facing to that 2 errors when I’m trying to update Piwik with archive.php.
My problem is that my website is on a shared hosting and I can’t manage cron as I would like.
Je suis passé sur la version PHP 5.5.11 et Piwik en 2.2.0 mais j’ai le même soucis :
Using this ‘archive.php’ script is no longer recommended.
Please use ‘/path/to/php /cheminPiwik/console core:archive – url=http://monPiwik/’ instead.
To get help use ‘/path/to/php /home/dspservi/www/stats/console core:archive --help’
Fatal error: Directive ‘allow_call_time_pass_reference’ is no longer available in PHP in Unknown on line 0
’
INFO Piwik\CronArchiveFatalException[2014-04-28 06:25:53] [3aba2] ERROR: The Piwik URL http://monPiwik/index.php does not seem to be pointing to a Piwik server. Response was ‘’.
Error in the last Piwik archive.php run:
The Piwik URL http://monPiwik/index.php does not seem to be pointing to a Piwik server. Response was ‘’.
Je viens de faire un essai en mettant à jour la ligne de commande pour le cron, et j’ai un nouveau message d’erreur :
<br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/MoncheminPiwik/core/Log.php</b> on line <b>520</b><br />
INFO CoreConsole[2014-04-28 14:06:01] [c8533] ---------------------------
<br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/MoncheminPiwik/core/Log.php</b> on line <b>520</b><br />
INFO CoreConsole[2014-04-28 14:06:01] [c8533] INIT
<br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/MoncheminPiwik/core/Log.php</b> on line <b>520</b><br />
INFO CoreConsole[2014-04-28 14:06:01] [c8533] Piwik is installed at: http://monPiwik/index.php
<br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/MoncheminPiwik/core/Log.php</b> on line <b>520</b><br />
INFO CoreConsole[2014-04-28 14:06:01] [c8533] Running Piwik 2.2.0 as Super User
<br />
<b>Warning</b>: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/MoncheminPiwik/core/CliMulti.php</b> on line <b>176</b><br />
<br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/MoncheminPiwik/core/Log.php</b> on line <b>520</b><br />
INFO CoreConsole[2014-04-28 14:06:10] [c8533] ERROR: Got invalid response from API request: http://monPiwik/index.php?module=API&method=API.getDefaultMetricTranslations&format=original&serialize=1&trigger=archivephp. Response was '<br />
<b>Fatal error</b>: Directive 'allow_call_time_pass_reference' is no longer available in PHP in <b>Unknown</b> on line <b>0</b><br />
'
<br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/MoncheminPiwik/core/Log.php</b> on line <b>520</b><br />
INFO CoreConsole[2014-04-28 14:06:10] [c8533] ERROR: The Piwik URL http://monPiwik/index.php does not seem to be pointing to a Piwik server. Response was ''.
Error in the last Piwik archive.php run:
The Piwik URL http://monPiwik/index.php does not seem to be pointing to a Piwik server. Response was ''.
Here is the full errors output:
---------------------------
INIT
Piwik is installed at: http://monPiwik/index.php
Running Piwik 2.2.0 as Super User
ERROR: Got invalid response from API request: http://monPiwik/index.php?module=API&method=API.getDefaultMetricTranslations&format=original&serialize=1&trigger=archivephp. Response was '<br />
<b>Fatal error</b>: Directive 'allow_call_time_pass_reference' is no longer available in PHP in <b>Unknown</b> on line <b>0</b><br />
Je viens de faire un essai en mettant à jour la ligne de commande pour le cron, et j’ai un nouveau message d’erreur :
<br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/MoncheminPiwik/core/Log.php</b> on line <b>520</b><br />
INFO CoreConsole[2014-04-28 14:06:01] [c8533] ---------------------------
<br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/MoncheminPiwik/core/Log.php</b> on line <b>520</b><br />
INFO CoreConsole[2014-04-28 14:06:01] [c8533] INIT
<br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/MoncheminPiwik/core/Log.php</b> on line <b>520</b><br />
INFO CoreConsole[2014-04-28 14:06:01] [c8533] Piwik is installed at: http://monPiwik/index.php
<br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/MoncheminPiwik/core/Log.php</b> on line <b>520</b><br />
INFO CoreConsole[2014-04-28 14:06:01] [c8533] Running Piwik 2.2.0 as Super User
<br />
<b>Warning</b>: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/MoncheminPiwik/core/CliMulti.php</b> on line <b>176</b><br />
<br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/MoncheminPiwik/core/Log.php</b> on line <b>520</b><br />
INFO CoreConsole[2014-04-28 14:06:10] [c8533] ERROR: Got invalid response from API request: http://monPiwik/index.php?module=API&method=API.getDefaultMetricTranslations&format=original&serialize=1&trigger=archivephp. Response was '<br />
<b>Fatal error</b>: Directive 'allow_call_time_pass_reference' is no longer available in PHP in <b>Unknown</b> on line <b>0</b><br />
'
<br />
<b>Warning</b>: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in <b>/MoncheminPiwik/core/Log.php</b> on line <b>520</b><br />
INFO CoreConsole[2014-04-28 14:06:10] [c8533] ERROR: The Piwik URL http://monPiwik/index.php does not seem to be pointing to a Piwik server. Response was ''.
Error in the last Piwik archive.php run:
The Piwik URL http://monPiwik/index.php does not seem to be pointing to a Piwik server. Response was ''.
Here is the full errors output:
---------------------------
INIT
Piwik is installed at: http://monPiwik/index.php
Running Piwik 2.2.0 as Super User
ERROR: Got invalid response from API request: http://monPiwik/index.php?module=API&method=API.getDefaultMetricTranslations&format=original&serialize=1&trigger=archivephp. Response was '<br />
<b>Fatal error</b>: Directive 'allow_call_time_pass_reference' is no longer available in PHP in <b>Unknown</b> on line <b>0</b><br />