CI error |
Hello,
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\gsa\system\database\drivers\mysql\mysql_driver.php:91 Stack trace: #0 C:\xampp\htdocs\gsa\system\database\DB_driver.php(115): CI_DB_mysql_driver->db_pconnect() #1 C:\xampp\htdocs\gsa\system\database\DB.php(148): CI_DB_driver->initialize() #2 C:\xampp\htdocs\gsa\system\core\Loader.php(346): DB(Array, NULL) #3 C:\xampp\htdocs\gsa\system\core\Loader.php(1171): CI_Loader->database() #4 C:\xampp\htdocs\gsa\system\core\Loader.php(152): CI_Loader->_ci_autoloader() #5 C:\xampp\htdocs\gsa\system\core\Controller.php(51): CI_Loader->initialize() #6 C:\xampp\htdocs\gsa\application\site\core\MY_Controller.php(7): CI_Controller->__construct() #7 C:\xampp\htdocs\gsa\application\site\controllers\home.php(9): MY_Controller->__construct() #8 C:\xampp\htdocs\gsa\system\core\CodeIgniter.php(308): Home->__construct() #9 C:\xampp\htdocs\gsa\index.php(202): require_once('C:\\xampp\\htdocs...') #10 {main} thrown in C:\xampp\htdocs\gsa\system\database\drivers\mysql\mysql_driver.php on line 91 I am having problem with this CI program. Can anyone help me tracing the error problem ? Thanks in advance.
" If I looks more intelligence please increase my reputation."
(09-30-2016, 10:29 PM)pravins Wrote: Check this line controllers/home.php PHP Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); Line 9: PHP Code: parent::__construct();
" If I looks more intelligence please increase my reputation."
I thinks this is the same one
http://forum.codeigniter.com/printthread.php?tid=64363 you must have resolved at that time(02-15-2016)...now its the same issue you are facing...its strange
Try rename your file name
Wrong C:\xampp\htdocs\gsa\application\site\controllers\home.php Correct C:\xampp\htdocs\gsa\application\site\controllers\Home.php
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
Hello! Very interesting topic, thank you raised it
sprint customer service chat |
Welcome Guest, Not a member yet? Register Sign In |