You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting this error in the example file basic-fr.php:
Warning: date() [function.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 'Europe/Berlin' for 'CEST/2.0/DST' instead in /Users/cbzittoun/Sites/boxoffice/api-allocine-helper-master/api-allocine-helper.php on line 316
Erreur 3: An error occurred when converting data.
Salut Camille,
L'erreur vient de ton php.ini, dont la propriété date.timezone n'est pas définie. La ligne ressemble à quelque chose comme ;date.timezone =.
Il faut enlever le point virgule et ajouter le fuseau horaire : date.timezone = "Europe/Paris"
Jette un coup d’œil sur ces pages pour plus d'infos : http://php.net/manual/fr/datetime.configuration.php http://www.php.net/manual/fr/timezones.php
Le script a été mis à jour pour fonctionner avec les dernières restrictions de l'API d'Allociné, mais je me retrouve parfois avec des requêtes qui n'aboutissent pas. J'ai rajouté une fonction qui crée un user-agent plus ou moins aléatoire pour chaque requête, car Allociné semble mettre sur la liste noire tout ceux que l'on trouve sur Internet.
Peut-être que tu n'auras pas de problème !
PS : En français, parce que je n'ai encore croisé que des français qui s'intéressaient à ça, et... parce que j'ai la flemme de traduire :)
Hi Etienne,
I am getting this error in the example file basic-fr.php:
Warning: date() [function.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 'Europe/Berlin' for 'CEST/2.0/DST' instead in /Users/cbzittoun/Sites/boxoffice/api-allocine-helper-master/api-allocine-helper.php on line 316
Erreur 3: An error occurred when converting data.
Additionally, I wanted to know if this library is still working despite this kind of news:
http://www.bl7ckr7in.net/api-allocine-game-over/
Many thanks for your work!
Camille
PS : en anglais au cas où d'autres personnes se posent les mêmes questions.
The text was updated successfully, but these errors were encountered: