CodeIgniter Forums
RESTful API + HMVC gives: Fatal error: Call to undefined method CI_Loader::_autoloader() - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: RESTful API + HMVC gives: Fatal error: Call to undefined method CI_Loader::_autoloader() (/showthread.php?tid=51155)



RESTful API + HMVC gives: Fatal error: Call to undefined method CI_Loader::_autoloader() - El Forum - 04-23-2012

[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