Pages : 1
#1 Le 07/11/2010, à 17:50
- Tyim
XAMPP - Deprecated - DB
Bonjour,
J'ai besoin d'aide pour XAMPP
J'ai migrer mes applications vers un autre serveur XAMPP (dernière version à septembre 2010) mais mais application ne se connecte plus à la base de donnée (utilisation de la bibliothéque DB)
Voici les erreurs.
Je ne trouve pas la source.
Merci
Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/lib/php/DB.php on line 470
Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/lib/php/DB.php on line 547
Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/lib/php/DB.php on line 1124
Strict Standards: Non-static method DB::connect() should not be called statically in /opt/lampp/htdocs/GPS/spg/login.php on line 29
Strict Standards: Non-static method DB::parseDSN() should not be called statically in /opt/lampp/lib/php/DB.php on line 520
Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/lib/php/DB/common.php on line 963
Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/lib/php/DB/common.php on line 1166
Strict Standards: Declaration of DB_common::raiseError() should be compatible with that of PEAR::raiseError() in /opt/lampp/lib/php/DB/common.php on line 2148
Strict Standards: Declaration of DB_mysql::quote() should be compatible with that of DB_common::quote() in /opt/lampp/lib/php/DB/mysql.php on line 48
Strict Standards: Non-static method DB::isError() should not be called statically in /opt/lampp/lib/php/DB.php on line 551
Strict Standards: Non-static method DB::isError() should not be called statically in /opt/lampp/lib/php/DB.php on line 551
Strict Standards: Non-static method DB::isError() should not be called statically in /opt/lampp/lib/php/DB.php on line 557
Strict Standards: Non-static method DB::isError() should not be called statically in /opt/lampp/htdocs/GPS/spg/login.php on line 30
Strict Standards: Non-static method DB::isManip() should not be called statically, assuming $this from incompatible context in /opt/lampp/lib/php/DB/mysql.php on line 300
Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /opt/lampp/lib/php/DB/common.php on line 1163
Strict Standards: Non-static method DB::isError() should not be called statically in /opt/lampp/htdocs/GPS/spg/login.php on line 37
Strict Standards: Non-static method DB::isError() should not be called statically, assuming $this from incompatible context in /opt/lampp/lib/php/DB.php on line 1286
Les rêveurs créent le monde, les réalistes le font fonctionner (Tyim)
Hors ligne
#2 Le 08/11/2010, à 10:34
- Tyim
Re : XAMPP - Deprecated - DB
Pas d'idées ?
Les rêveurs créent le monde, les réalistes le font fonctionner (Tyim)
Hors ligne
#3 Le 08/11/2010, à 11:37
- Jules Petibidon
Re : XAMPP - Deprecated - DB
Hello,
Une possibilité de solution pour faire disparaître les messages d'erreur ici : http://forum.ubuntu-fr.org/viewtopic.php?id=413887
Et sinon, tes messages d'erreur indiquent que ta classe DB mérite une très sérieuse révision, voir une refonte totale, ce qui serait la meilleure solution.
Hors ligne
#4 Le 08/11/2010, à 13:43
- Tyim
Re : XAMPP - Deprecated - DB
Bonjour,
Merci pour ta réponse. C'est un programme écrit en 2008. Il doit etre pérenne, je ne peux pas réécrire toutes les applications.
Bref, dans tous les cas, je me suis lancer dans l'installation d'un serveur LAMP via les packets et la documentation Ubuntu-fr.org.
J'ai d'autres problèmes avec des pages blanches sans message d'erreurs pour certaines applications (peut etre avec la librairie DB) J'ouvre un nouveau post. (ZUT, je vais jamais le migrer mon vieux serveur !!!)
http://forum.ubuntu-fr.org/viewtopic.php?id=427942
Merci
Dernière modification par Tyim (Le 08/11/2010, à 13:52)
Les rêveurs créent le monde, les réalistes le font fonctionner (Tyim)
Hors ligne
Pages : 1