Welcome Guest, Not a member yet? Register   Sign In
PHP Fatal error: Class 'MY_Controller' not found

I am trying to migrate Codeigniter 2 website from prod to dev and the migration stuck with :
PHP Fatal error: Class 'MY_Controller' not found in /dev/www/application/controllers/theme.php on line 4

The MY_Controller is correctly located in /dev/www/application/core/MY_Controller.php and I am extending the CI_Controller as following :

class Basic_Controller extends CI_Controller
public function __construct(){ parent::__construct(); }

class MY_Controller extends CI_Controller { public $member, $website;

public function __construct() {

Taking in account that file permission, ownership, class and file naming convention are correct and what else should I have a look at?

Messages In This Thread
PHP Fatal error: Class 'MY_Controller' not found - by ronlin - 05-01-2016, 07:59 PM

Theme © iAndrew 2016 - Forum software by © MyBB