Welcome Guest, Not a member yet? Register   Sign In
salam kenal

ane baru belajar nieh

anekan baca ebook
terus di suruh
class Hello extends controller
function index()

tapi kok malah muncul

Fatal error: Class 'controller' not found in C:\xampp\htdocs\ci\application\controllers\hello.php on line 3

Hello black_end,

First, please use english when you post to this forum, if not, you will hardly get an answer...

I think I got what you mean, and it's a simple mistake with caps : you're trying to extend the Controller CI's Core Class to create your own controller, but there's a little mistake in your extends.

PHP Code:
class Hello extends Controller 

CodeIgniter classes are case sensitive so it will not work if you don't follow framework's naming conventions.



Theme © iAndrew 2016 - Forum software by © MyBB