Welcome Guest, Not a member yet? Register   Sign In
Class 'CI_Controller' not found in \system\core\CodeIgniter.php on line 343
#1

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 ?
Reply
#2

Naming convention changed in CI3... See the docs for version 3.....
Reply
#3

Show some of your code (inside the Controller you get the error from)
Best VPS Hosting : Digital Ocean
Reply
#4

(10-31-2014, 05:11 AM)alexandru Wrote: 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 ?

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?
Reply
#5

(This post was last modified: 10-31-2014, 08:59 AM by alexandru.)

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:
(10-31-2014, 05:11 AM)alexandru Wrote: 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 ?

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?
yes i did changed the file names to ucfirst ...
Reply
#6

Are you using wiredesignz from https://bitbucket.org/wiredesignz/codeig...sions-hmvc? If yes you should escalate there else can you give some inner code of provided classes?
Reply




Theme © iAndrew 2016 - Forum software by © MyBB