[RESOLU] Erreur de base de donnée

Eléphanteau du PHP | 18 Messages

25 juil. 2014, 09:24

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

ViPHP
xTG
ViPHP | 7331 Messages

25 juil. 2014, 13:05

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

Eléphanteau du PHP | 18 Messages

25 juil. 2014, 13:29

Bonjour xTG,

Merci je vais essayer cela.
Corialement.

Eléphanteau du PHP | 18 Messages

25 juil. 2014, 18:23

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.

Eléphanteau du PHP | 18 Messages

25 juil. 2014, 19:48

MERCI Finalement ça fonctionne je suis trop content. Mon serveur était seulement long à la détente. =D>