CodeIgniter Forums

Full Version: RESTful API + HMVC gives: Fatal error: Call to undefined method CI_Loader::_autoloader()
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
hi.

i am using Philip Sturgeon' RESTful library and I am now trying to integrate HMVC modular extensions by wiredesignz.

I have installed everything, set up the modular structure, changed the REST_Controller library to be extending MX_Controller instead of CI_Controller, and I am calling my controller for the RESTful library by extending the REST_Controller.

But this setup, which is, to my mind, correct, gives me the following error:

Code:
Fatal error: Call to undefined method CI_Loader::_autoloader() in /Users/psychomachine/Development/ignite.dev/trunk/application/third_party/MX/Controller.php on line 54

Any idea what might be going wrong here?

All best,
Tench