First Programer First Programer - 1 year ago 83
PHP Question

My_Controoler not found on server CodeIgniter

Dear: helper i run on wamp local server is working fine but i have problem with My_Controller is not found is core folder. I already insert My_Controller in core folder

and in config.php i already insert config too
"$config['subclass_prefix'] = 'MY_';"
anyone help me please?

Fatal error: Class 'MY_Controller' not found in /home/phnompen/public_html/my_side_url/application/controllers/Controller.php on line 9

A PHP Error was encountered

Severity: Error

Message: Class 'MY_Controller' not found

Filename: controllers/Controller.php

Line Number: 9


Answer Source

Make you you have the MY in your file name not My


Change to


Same as in my comment.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download