Class 'Controller' not found |
[eluser]davy_yg[/eluser]
Hello, I have this code: application/controllers/latihancodeigniter.php <?php class Latihancodeigniter extends Controller { function index() { echo "Hello CodeIgniter"; } } ?> Then, this error appears: Fatal error: Class 'Controller' not found in C:\xampp\htdocs\CodeIgniter_214\application\controllers\latihancodeigniter.php on line 4 Why is it? (I am using Codeigniter 2.1.4)
[eluser]PravinS[/eluser]
check $system_folder and $application_folder in index.php refer: http://ellislab.com/codeigniter/user-gui...tallation/
[eluser]sv3tli0[/eluser]
extend CI_Controller not Controller ! as its extended in the example.. https://github.com/EllisLab/CodeIgniter/...elcome.php |
Welcome Guest, Not a member yet? Register Sign In |