Skip to content
New issue

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

The project is not running entirely. #3

Closed
museebghumman opened this issue Jan 12, 2019 · 1 comment
Closed

The project is not running entirely. #3

museebghumman opened this issue Jan 12, 2019 · 1 comment

Comments

@museebghumman
Copy link

museebghumman commented Jan 12, 2019

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

2019-01-12

@kzorluoglu
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants