CodeIgniter Forums

Full Version: Error message
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
Hello

I have a problem here whereby I need to run a hotspot application and I keep getting an error that says

Fatal error: Class 'Controller' not found in C:\xampp\htdocs\easyhotspot\htdocs\system\application\controllers\home.php on line 3

now I was just wondering is this a bug cause I haven't done anything to the code.

Thanks in advance
kagiso

El Forum

[eluser]danmontgomery[/eluser]
You should be extending CI_Controller, not Controller.

http://ellislab.com/codeigniter/user-gui...llers.html

El Forum

[eluser]talentsfromindia[/eluser]
Yeah you should extend class CI_Controller it will work fine if their is no other bug in the program.

El Forum

[eluser]Unknown[/eluser]
OK noctrum I'll have a look at it, thank you very much!!!