AndroBG- 0 Posted July 6, 2017 Share Posted July 6, 2017 (edited) Bonjour A chaque fois (en local) que je met un CMS (là j'ai mis Habbo CMS 2), ça me met sa : Fatal error: Uncaught Error: Call to undefined function mysql_connect() in C:\xampp\htdocs\includes\files\bdd.php:2 Stack trace: #0 C:\xampp\htdocs\init.php(17): include() #1 C:\xampp\htdocs\index.php(8): include('C:\\xampp\\htdocs...') #2 {main} thrown in C:\xampp\htdocs\includes\files\bdd.php on line 2 Je précise que tout est bien configuré, j'ai mis les identifiants de la base de données,... Edited July 6, 2017 by Brandon Ajout du préfixe Link to comment Share on other sites More sharing options...
ßRÂИÐØИ 46 Posted July 6, 2017 Share Posted July 6, 2017 Tu as quel version PHP ? Link to comment Share on other sites More sharing options...
AndroBG- 0 Posted July 6, 2017 Author Share Posted July 6, 2017 PHP 7.1.6. Link to comment Share on other sites More sharing options...
ßRÂИÐØИ 46 Posted July 6, 2017 Share Posted July 6, 2017 il y a 3 minutes, AndroBG- a dit : PHP 7.1.6. Ton PHP est trop haut, sur PHP 7 le mysql_connect() n'existe plus. Soit tu passe à un PHP plus bas ou tu change de CMS (Plus récent) Link to comment Share on other sites More sharing options...
ßRÂИÐØИ 46 Posted July 6, 2017 Share Posted July 6, 2017 Salut, Ton sujet qui se trouvait dans Divers Habbo > Aides et support a été déplacé dans Aides et support > Divers Habbo > Résolu Ceci est un message automatique. Link to comment Share on other sites More sharing options...
Shirobi 20 Posted July 6, 2017 Share Posted July 6, 2017 Les fonctions mysql_ sont obsolètes, comme a dit Brandon faut qu'tu change ta version PHP là je viens de regarder j'suis en PHP 5.3.8 et les fonctions mysql_ fonctionnent correctement oui Link to comment Share on other sites More sharing options...
Recommended Posts