Błąd składni PHP

Severity: 8192

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

Filename: controllers/basket.php

Line Number: 8


Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in /var/www/vhosts/syriusz.wizjanet.pl/kafelkarnia.pl/system/database/drivers/mysql/mysql_driver.php:88 Stack trace: #0 /var/www/vhosts/syriusz.wizjanet.pl/kafelkarnia.pl/system/database/DB_driver.php(115): CI_DB_mysql_driver->db_pconnect() #1 /var/www/vhosts/syriusz.wizjanet.pl/kafelkarnia.pl/system/database/DB.php(137): CI_DB_driver->initialize() #2 /var/www/vhosts/syriusz.wizjanet.pl/kafelkarnia.pl/system/libraries/Loader.php(224): DB(Array, false) #3 /var/www/vhosts/syriusz.wizjanet.pl/kafelkarnia.pl/system/libraries/Loader.php(985): CI_Loader->database() #4 /var/www/vhosts/syriusz.wizjanet.pl/kafelkarnia.pl/system/libraries/Controller.php(83): CI_Loader->_ci_autoloader() #5 /var/www/vhosts/syriusz.wizjanet.pl/kafelkarnia.pl/system/libraries/Controller.php(43): Controller->_ci_initialize() #6 /var/www/vhosts/syriusz.wizjanet.pl/kafelkarnia.pl/aplikacja/controllers/front.php(17): Controller->Controller() #7 /var/www/vhosts/syriusz.wizjanet.pl/kafe in /var/www/vhosts/syriusz.wizjanet.pl/kafelkarnia.pl/system/database/drivers/mysql/mysql_driver.php on line 88