A PHP Error was encountered

Severity: Notice

Message: Only variables should be assigned by reference

Filename: core/Controller.php

Line Number: 51

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_connect() in /storage/content/55/139855/mekanisterna.se/system/database/drivers/mysql/mysql_driver.php:70 Stack trace: #0 /storage/content/55/139855/mekanisterna.se/system/database/DB_driver.php(115): CI_DB_mysql_driver->db_connect() #1 /storage/content/55/139855/mekanisterna.se/system/database/DB.php(137): CI_DB_driver->initialize() #2 /storage/content/55/139855/mekanisterna.se/system/core/Loader.php(242): DB(Array, NULL) #3 /storage/content/55/139855/mekanisterna.se/system/core/Loader.php(1015): CI_Loader->database() #4 /storage/content/55/139855/mekanisterna.se/system/core/Controller.php(53): CI_Loader->_ci_autoloader() #5 /storage/content/55/139855/mekanisterna.se/application/controllers/smr.php(10): CI_Controller->__construct() #6 /storage/content/55/139855/mekanisterna.se/application/controllers/common.php(7): Smr->__construct() #7 /storage/content/55/139855/mekanisterna.se/system/core/CodeIgniter.php(267): Common->__construct() #8 /storage/content/55/139 in /storage/content/55/139855/mekanisterna.se/system/database/drivers/mysql/mysql_driver.php on line 70