CodeIgniter Forums
Fatal error: Class 'CI_Controller' not found - Printable Version

+- CodeIgniter Forums (
+-- Forum: Using CodeIgniter (
+--- Forum: General Help (
+--- Thread: Fatal error: Class 'CI_Controller' not found (/thread-65064.html)

Fatal error: Class 'CI_Controller' not found - mirrek74 - 04-25-2016

Hi, I'm a completely new CodeIgniter user, and I came to this error when calling a function : 

Fatal error: Class 'CI_Controller' not found in .........

the URL is http:/

I assume it has something to do with the question mark in the query, because if I change it to confirm/code/ec5dd81/ it gets through, but then messes up other things, so I need this to work with the question mark.. It worked before, I don;t know what has changed, didn't do any upgrade..

my htaccess file is like this, if it makes any difference>:

RewriteEngine On

AddDefaultCharset UTF-8

Options -Indexes

Options +FollowSymlinks

RewriteBase /

RewriteCond %{HTTP_HOST} !^(.*)\.

RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_URI} !(.*)/$

RewriteRule ^(.*[^/])$ $1/ [L,R=301]

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php?/$1 [QSA,L]

ErrorDocument 404 /index.php?do=error
ErrorDocument 500 /index.php?do=error

Please help, I'm going desperate here..

RE: Fatal error: Class 'CI_Controller' not found - InsiteFX - 04-26-2016

See the CodeIgniter Documentation below:

CodeIgniter URL's