• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error message

#1
[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

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

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

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

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


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.