We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It is giving the following error! Please Help me solve it.
A PHP Error was encountered Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257
Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:\xampp\htdocs\koCART-1\system\database\drivers\mysql\mysql_driver.php:91 Stack trace: #0 C:\xampp\htdocs\koCART-1\system\database\DB_driver.php(115): CI_DB_mysql_driver->db_pconnect() #1 C:\xampp\htdocs\koCART-1\system\database\DB.php(148): CI_DB_driver->initialize() #2 C:\xampp\htdocs\koCART-1\system\core\Loader.php(346): DB(Array, NULL) #3 C:\xampp\htdocs\koCART-1\application\helpers\language_helper.php(8): CI_Loader->database() #4 C:\xampp\htdocs\koCART-1\system\core\Loader.php(527): include_once('C:\xampp\htdocs...') #5 C:\xampp\htdocs\koCART-1\system\core\Loader.php(1154): CI_Loader->helper(Array) #6 C:\xampp\htdocs\koCART-1\system\core\Loader.php(152): CI_Loader->_ci_autoloader() #7 C:\xampp\htdocs\koCART-1\system\core\Controller.php(51): CI_Loader->initialize() #8 C:\xampp\htdocs\koCART-1\application\core\MY_Controller.php(9): CI_Controller->__construct() #9 C:\xampp\htdocs\koCART-1\application\controllers\home.php(8): KoController->__c in C:\xampp\htdocs\koCART-1\system\database\drivers\mysql\mysql_driver.php on line 91
The text was updated successfully, but these errors were encountered:
Hello @museebghumman, i'm sorry for the late reply. PHP deprecated 'mysql', please change your config/database.php file with this connection method.
$db['default']['dbdriver'] = 'mysqli';
Thanks, Koray
Sorry, something went wrong.
No branches or pull requests
It is giving the following error! Please Help me solve it.
A PHP Error was encountered
Severity: Notice
Message: Only variable references should be returned by reference
Filename: core/Common.php
Line Number: 257
Fatal error: Uncaught Error: Call to undefined function mysql_pconnect() in C:\xampp\htdocs\koCART-1\system\database\drivers\mysql\mysql_driver.php:91 Stack trace: #0 C:\xampp\htdocs\koCART-1\system\database\DB_driver.php(115): CI_DB_mysql_driver->db_pconnect() #1 C:\xampp\htdocs\koCART-1\system\database\DB.php(148): CI_DB_driver->initialize() #2 C:\xampp\htdocs\koCART-1\system\core\Loader.php(346): DB(Array, NULL) #3 C:\xampp\htdocs\koCART-1\application\helpers\language_helper.php(8): CI_Loader->database() #4 C:\xampp\htdocs\koCART-1\system\core\Loader.php(527): include_once('C:\xampp\htdocs...') #5 C:\xampp\htdocs\koCART-1\system\core\Loader.php(1154): CI_Loader->helper(Array) #6 C:\xampp\htdocs\koCART-1\system\core\Loader.php(152): CI_Loader->_ci_autoloader() #7 C:\xampp\htdocs\koCART-1\system\core\Controller.php(51): CI_Loader->initialize() #8 C:\xampp\htdocs\koCART-1\application\core\MY_Controller.php(9): CI_Controller->__construct() #9 C:\xampp\htdocs\koCART-1\application\controllers\home.php(8): KoController->__c in C:\xampp\htdocs\koCART-1\system\database\drivers\mysql\mysql_driver.php on line 91
The text was updated successfully, but these errors were encountered: