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 post Share on other sites
ßRÂИÐØИ 50 Posted July 6, 2017 Share Posted July 6, 2017 Tu as quel version PHP ? Link to post Share on other sites
AndroBG- 0 Posted July 6, 2017 Author Share Posted July 6, 2017 PHP 7.1.6. Link to post Share on other sites
Solution ßRÂИÐØИ 50 Posted July 6, 2017 Solution 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 post Share on other sites
ßRÂИÐØИ 50 Posted July 6, 2017 Share Posted July 6, 2017 Salut, Ton sujet qui se trouvait dans Please login or register to see this link. > Please login or register to see this link. a été déplacé dans Please login or register to see this link. > Please login or register to see this link. > Please login or register to see this link. Ceci est un message automatique. Link to post Share on other sites
Shirobi 23 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 Link to post Share on other sites
Recommended Posts