Forum PHPBoost
• Support installation/mise à jour » Erreur functions.inc.php à la ligne 816
Bonjour j'ai un probleme sur la fonctin fusseau horaire
Avertissement : 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 'CET/1.0/no DST' instead dans le fichier /var/www/vhosts/miracle-sharingan.hssr-heberg.net/httpdocs/phpboost/kernel/framework/functions.inc.php à la ligne 816
et
Avertissement : 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 'CET/1.0/no DST' instead dans le fichier /var/www/vhosts/miracle-sharingan.hssr-heberg.net/httpdocs/phpboost/kernel/framework/functions.inc.php à la ligne 841
voici les lignes : - $serveur_hour=number_round(date('Z')/3600,0)-date('I');
- return date($format,$timestamp);
pouvez vous m'aider soit a masquer l'avertissement ou à le résoudre
pour info serveur en php 5.3
EDIT: j'ai réussi il faut remplacer $serveur_hour=number_round(date('Z')/3600,0)-date('I'); par $serveur_hour= date_default_timezone_set('Europe/London');
Edité par hiraku79 Le 11/02/12 à 22h08
Avertissement : 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 'CET/1.0/no DST' instead dans le fichier /var/www/vhosts/miracle-sharingan.hssr-heberg.net/httpdocs/phpboost/kernel/framework/functions.inc.php à la ligne 816
et
Avertissement : 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 'CET/1.0/no DST' instead dans le fichier /var/www/vhosts/miracle-sharingan.hssr-heberg.net/httpdocs/phpboost/kernel/framework/functions.inc.php à la ligne 841
voici les lignes : - $serveur_hour=number_round(date('Z')/3600,0)-date('I');
- return date($format,$timestamp);
pouvez vous m'aider soit a masquer l'avertissement ou à le résoudre
pour info serveur en php 5.3
EDIT: j'ai réussi il faut remplacer $serveur_hour=number_round(date('Z')/3600,0)-date('I'); par $serveur_hour= date_default_timezone_set('Europe/London');
Edité par hiraku79 Le 11/02/12 à 22h08
Bonsoir et bienvenue hiraku79
Ton soucis est résolu ?
Dans le cas suivant, merci de passer le sujet en 'Réglé'
Ton soucis est résolu ?
Dans le cas suivant, merci de passer le sujet en 'Réglé'
• Support installation/mise à jour » Erreur functions.inc.php à la ligne 816
1 Utilisateur en ligne :: 0 Administrateur, 0 Modérateur, 0 Membre et 1 Visiteur
Utilisateur en ligne: Aucun membre connecté
Utilisateur en ligne: Aucun membre connecté
Répondre
Vous n'êtes pas autorisé à écrire dans cette catégorie





PHPBoost

Support
Téléchargements
Développement
Communauté












