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