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; CI_DB_driver has a deprecated constructor

Filename: database/DB_driver.php

Line Number: 31


Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in /srv/www/htdocs/lebrun-construction.co.uk/system/database/drivers/mysql/mysql_driver.php:88 Stack trace: #0 /srv/www/htdocs/lebrun-construction.co.uk/system/database/DB_driver.php(115): CI_DB_mysql_driver->db_pconnect() #1 /srv/www/htdocs/lebrun-construction.co.uk/system/database/DB.php(146): CI_DB_driver->initialize() #2 /srv/www/htdocs/lebrun-construction.co.uk/system/core/Loader.php(268): DB(Array, NULL) #3 /srv/www/htdocs/lebrun-construction.co.uk/application/models/album.php(8): CI_Loader->database() #4 /srv/www/htdocs/lebrun-construction.co.uk/system/core/Loader.php(225): album->__construct() #5 /srv/www/htdocs/lebrun-construction.co.uk/application/controllers/gallery.php(10): CI_Loader->model('Album') #6 /srv/www/htdocs/lebrun-construction.co.uk/system/core/CodeIgniter.php(339): Gallery->index() #7 /srv/www/htdocs/lebrun-construction.co.uk/index.php(202): require_once('/srv/www/htdocs...') #8 {main} thrown in /srv/www/htdocs/lebrun-construction.co.uk/system/database/drivers/mysql/mysql_driver.php on line 88