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

Filename: models/sitemodel.php

Line Number: 2


Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in /home/addiganta/m/hasnasystem/database/drivers/mysql/mysql_driver.php:91 Stack trace: #0 /home/addiganta/m/hasnasystem/database/DB_driver.php(115): CI_DB_mysql_driver->db_pconnect() #1 /home/addiganta/m/hasnasystem/database/DB.php(148): CI_DB_driver->initialize() #2 /home/addiganta/m/hasnasystem/core/Loader.php(346): DB(Array, NULL) #3 /home/addiganta/m/hasnaapplication/models/sitemodel.php(7): CI_Loader->database() #4 /home/addiganta/m/hasnasystem/core/Loader.php(303): SiteModel->SiteModel() #5 /home/addiganta/m/hasnasystem/core/Loader.php(237): CI_Loader->model('Sitemodel') #6 /home/addiganta/m/hasnaapplication/controllers/basecontroller.php(34): CI_Loader->model(Array) #7 /home/addiganta/m/hasnasystem/core/CodeIgniter.php(308): basecontroller->__construct() #8 /home/addiganta/m/haasanbakien.php(210): require_once('/home/addiganta...') #9 {main} thrown in /home/addiganta/m/hasnasystem/database/drivers/mysql/mysql_driver.php on line 91