A PHP Error was encountered

Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Produits has a deprecated constructor

Filename: controllers/produits.php

Line Number: 3


Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in /homepages/13/d450199665/htdocs/site_bouygues/system/database/drivers/mysql/mysql_driver.php:91 Stack trace: #0 /homepages/13/d450199665/htdocs/site_bouygues/system/database/DB_driver.php(115): CI_DB_mysql_driver->db_pconnect() #1 /homepages/13/d450199665/htdocs/site_bouygues/system/database/DB.php(148): CI_DB_driver->initialize() #2 /homepages/13/d450199665/htdocs/site_bouygues/system/core/Loader.php(346): DB(Array, NULL) #3 /homepages/13/d450199665/htdocs/site_bouygues/application/models/m_produits.php(13): CI_Loader->database() #4 /homepages/13/d450199665/htdocs/site_bouygues/system/core/Loader.php(303): M_produits->__construct() #5 /homepages/13/d450199665/htdocs/site_bouygues/application/controllers/produits.php(306): CI_Loader->model('M_produits') #6 /homepages/13/d450199665/htdocs/site_bouygues/system/core/CodeIgniter.php(359): Produits->produit('telephones_mobi...', 'Samsung', 'note_3-note_III', '400', '1000') #7 /homepages/13/d450199665/h in /homepages/13/d450199665/htdocs/site_bouygues/system/database/drivers/mysql/mysql_driver.php on line 91