Notice: Constant ENVIRONMENT already defined in /opt/lampp/htdocs/index.php on line 27

A PHP Error was encountered

Severity: Notice

Message: Only variable references should be returned by reference

Filename: core/Common.php

Line Number: 256


Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /opt/lampp/htdocs/system/database/drivers/mysql/mysql_driver.php:73 Stack trace: #0 /opt/lampp/htdocs/system/database/DB_driver.php(115): CI_DB_mysql_driver->db_connect() #1 /opt/lampp/htdocs/system/database/DB.php(148): CI_DB_driver->initialize() #2 /opt/lampp/htdocs/system/core/Loader.php(346): DB(Array, NULL) #3 /opt/lampp/htdocs/system/core/Loader.php(1171): CI_Loader->database() #4 /opt/lampp/htdocs/system/core/Loader.php(152): CI_Loader->_ci_autoloader() #5 /opt/lampp/htdocs/system/core/Controller.php(51): CI_Loader->initialize() #6 /opt/lampp/htdocs/application/core/MY_Controller.php(6): CI_Controller->__construct() #7 /opt/lampp/htdocs/application/libraries/Frontend_Controller.php(6): MY_Controller->__construct() #8 /opt/lampp/htdocs/application/controllers/page.php(5): Frontend_Controller->__construct() #9 /opt/lampp/htdocs/system/core/CodeIgniter.php(308): Page->__construct() #10 /opt/lampp/htdocs/index.php(211): require_once('/opt/lampp/ in /opt/lampp/htdocs/system/database/drivers/mysql/mysql_driver.php on line 73