Page 1 sur 1

Erreur de base de donnée

Posté : 25 juil. 2014, 09:24
par DEVILLERS 22
Bonjour,

Je reviens vers vous car j'ai encore un problème concernant l'application https://adullact.net/projects/opencirculation/ trouvée sur le net. Lorsque je m'identifie sur http://opencirculation.alwaysdata.net/dans la section utilisateur (demo) mot de passe (demo) voici les erreurs que je rencontre je suis chez Always data avec une bdd Postgresql, Postgis.
Merci d'avance.

Code : Tout sélectionner

Strict Standards: Non-static method DB::connect() should not be called statically, assuming $this from incompatible context in /home/opencirculation/www/core/om_application.class.php on line 1057 Strict Standards: Non-static method DB::parseDSN() should not be called statically, assuming $this from incompatible context in /home/opencirculation/www/php/db/DB.php on line 520 Strict Standards: Declaration of DB_pgsql::quote() should be compatible with DB_common::quote($string = NULL) in /home/opencirculation/www/php/db/DB/pgsql.php on line 50 Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/opencirculation/www/php/db/DB.php on line 551 Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/opencirculation/www/php/db/DB.php on line 551 Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/opencirculation/www/php/db/DB.php on line 557 Strict Standards: Non-static method database::isError() should not be called statically, assuming $this from incompatible context in /home/opencirculation/www/core/om_application.class.php on line 1062 Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/opencirculation/www/core/om_database.class.php on line 35 Strict Standards: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /home/opencirculation/www/php/db/DB/common.php on line 2200 Strict Standards: Non-static method DB::errorMessage() should not be called statically, assuming $this from incompatible context in /home/opencirculation/www/php/db/DB.php on line 965 Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/opencirculation/www/php/db/DB.php on line 688 Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/opencirculation/www/php/db/DB/common.php on line 1217 Strict Standards: Non-static method database::isError() should not be called statically, assuming $this from incompatible context in /home/opencirculation/www/core/om_application.class.php on line 1132 Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /home/opencirculation/www/core/om_database.class.php on line 35

Re: Erreur de base de donnée

Posté : 25 juil. 2014, 13:05
par xTG
Ton PHP est configuré pour afficher tout type d'erreur.
Ces erreurs ne sont pas bloquantes dans ton cas, c'est juste du code pas forcement très beau.
Tu peux les masquer en descendant le niveau d'erreur.
error_reporting(E_ALL ^ E_STRICT); // Toutes les erreurs sauf le niveua STRICT
Ou bien en modifiant le champ équivalent dans ton php.ini

Re: Erreur de base de donnée

Posté : 25 juil. 2014, 13:29
par DEVILLERS 22
Bonjour xTG,

Merci je vais essayer cela.
Corialement.

Re: Erreur de base de donnée

Posté : 25 juil. 2014, 18:23
par DEVILLERS 22
Salut,

J'arrive à me connecter mais j'ai toujours les messages d'erreur j'ai mis à la racine du site un fichier .htaccess avec

Code : Tout sélectionner

error_reporting(E_ALL ^ E_STRICT);
. Je ne sais pas comment faire avec le php.ini. :oops:
Cordialement.

Re: Erreur de base de donnée

Posté : 25 juil. 2014, 19:48
par DEVILLERS 22
MERCI Finalement ça fonctionne je suis trop content. Mon serveur était seulement long à la détente. =D>