Class 'CI_Controller' not found in \system\core\CodeIgniter.php on line 343 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: Class 'CI_Controller' not found in \system\core\CodeIgniter.php on line 343 (/showthread.php?tid=67) |
Class 'CI_Controller' not found in \system\core\CodeIgniter.php on line 343 - alexandru - 10-31-2014 Hi there, I'm just updating my codeigniter to 3.0 and i get this error message. I have my database setup and i think i didn't get everything correct, can you please help me ? RE: Class 'CI_Controller' not found in \system\core\CodeIgniter.php on line 343 - tacohajo - 10-31-2014 Naming convention changed in CI3... See the docs for version 3..... RE: Class 'CI_Controller' not found in \system\core\CodeIgniter.php on line 343 - sv3tli0 - 10-31-2014 Show some of your code (inside the Controller you get the error from) RE: Class 'CI_Controller' not found in \system\core\CodeIgniter.php on line 343 - tapan.thapa - 10-31-2014 (10-31-2014, 05:11 AM)alexandru Wrote: Hi there, CodeIgniter v3 requires the class names to be ucfirst(). for example: models/ion_auth_model.php => models/Ion_auth_model.php Have you tried this? RE: Class 'CI_Controller' not found in \system\core\CodeIgniter.php on line 343 - alexandru - 10-31-2014 I have 2 files in the application/core/ <?php class My_Router extends CI_Router { function __construct() { parent::__construct(); } and the second file class Second_Controller extends CI_Controller { function __construct() { parent::__construct(); } (10-31-2014, 08:39 AM)tapan.thapa Wrote:yes i did changed the file names to ucfirst ...(10-31-2014, 05:11 AM)alexandru Wrote: Hi there, RE: Class 'CI_Controller' not found in \system\core\CodeIgniter.php on line 343 - tapan.thapa - 10-31-2014 Are you using wiredesignz from https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc? If yes you should escalate there else can you give some inner code of provided classes? |