osCommerce France : Accueil Forum Portail osCommerce France Réponses aux questions Foire aux contributions

Bienvenue invité ( Connexion | Inscription )

 
Reply to this topicStart new topic
> [résolu]PHP5.4 et mysql5.1 chez 1and1
Flyman30
posté 30 Mar 2013, 20:34
Message #1


Ceinture blanche OSC
Icône de groupe

Groupe : Membres
Messages : 18
Inscrit : 17-February 13
Lieu : Le Malzieu Ville
Membre no 32027



Bonjour,

En local j'utilise la version 2.3.3, PHP 5.4.13 (Zend: 2.4.0.) et MySql 5.5.27 et tout fonctionne correctement.

En ligne chez 1and1 j'utilise la version 2.3.3, PHP 4.4.9 (Zend: 1.3.0) et MySQL 5.1.67-log et ça fonctionne aussi, mais 1 and 1 préconise de passer à la version de PHP 5.4 et là, panique !

des messages d'erreur en pagaille...

Citation
Strict Standards: 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
/htdocs/catalog/includes/languages/french.php on line 252.

Strict Standards: strftime(): 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 htdocs/catalog/includes/modules/new_products.php on line 47

Strict Standards: mktime(): 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 /htdocs/catalog/includes/counter.php on line 27

Strict Standards: strftime(): 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 /htdocs/catalog/includes/counter.php on line 27

Je ne comprend pas pourquoi ça fonctionne en local et avec autant de soucis en ligne avec des version presque équivalente de PHP

Ce message a été modifié par Flyman30 - 2 Apr 2013, 15:29.


--------------------
En ligne : osCommerce Online Merchant v2.3.3 - Serveur HTTP: Apache - PHP : 4.4.9 (Zend : 1.3.0) - MySql : 5.1.67-log<br />
Local :
[b]osCommerce Online Merchant v2.3.3 - Serveur HTTP: IIS 7.5 - PHP : 5.4 - MySql : 5.5
Go to the top of the page
 
chti_poupon
posté 2 Apr 2013, 14:44
Message #2


Ceinture noire OSC
Icône de groupe

Groupe : TechDev
Messages : 2757
Inscrit : 9-September 08
Lieu : Douai
Membre no 22915



Bonjour
Il semble que tu aies tous ces messages car il manque en tête de chaque catalog/includes/languages/langue.php :
Code
date_default_timezone_set ("Europe/Berlin");
setlocale('LC_ .......

Exigé par php 5.1.0 déjà (voir ici).
Chti poupon
Pour le "mystère", il y a "assez" wacko.gif rarement de la magie ninja.gif en informatique: D'un côté, un php 4.4 sad.gif sur un classique serveur UNIX mellow.gif , de l'autre un php 5.4 ohmy.gif mais un serveur "parfois à part" IIS unsure.gif
Go to the top of the page
 
Flyman30
posté 2 Apr 2013, 15:28
Message #3


Ceinture blanche OSC
Icône de groupe

Groupe : Membres
Messages : 18
Inscrit : 17-February 13
Lieu : Le Malzieu Ville
Membre no 32027



Un grand merci à toi, ça fonctionne maintenant impeccablement avec la version 5.4 de PHP smile.gif


--------------------
En ligne : osCommerce Online Merchant v2.3.3 - Serveur HTTP: Apache - PHP : 4.4.9 (Zend : 1.3.0) - MySql : 5.1.67-log<br />
Local :
[b]osCommerce Online Merchant v2.3.3 - Serveur HTTP: IIS 7.5 - PHP : 5.4 - MySql : 5.5
Go to the top of the page
 

Reply to this topicStart new topic
1 utilisateur(s) sur ce sujet (1 invité(s) et 0 utilisateur(s) anonyme(s))
0 membre(s) :

 



RSS Version bas débit Nous sommes le : 28th March 2024 - 10:22
Ce site est déclaré auprès de la commision Nationale
de l'Informatique et des Libertés (déclaration n°: 1043896)