![]() |
Problems with modular extensions - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Problems with modular extensions (/showthread.php?tid=34590) |
Problems with modular extensions - El Forum - 10-04-2010 [eluser]musonic[/eluser] I'm having some problems with my modular extensions setup. I've followed the instructions on the bitbucket wiki and everything worked fine. I'm able to call controllers between modules and I'm able to load libraries from my main application libraries folder. However, I'm having some problems loading models. I've created a test module and in that module I have a folder called models. In that folder I have a file called test_m. This class has nothing in it at all. It extends Model (the CI_Model class). When I try and load it from the test module controller I get a white screen of death. Any ideas? Problems with modular extensions - El Forum - 10-04-2010 [eluser]carnalito[/eluser] Whats in your error.log? Is error_reporting(E_ALL) set? carnalito Problems with modular extensions - El Forum - 10-04-2010 [eluser]musonic[/eluser] Yes, error_reporting is set to ALL. Here's the contents of the log: DEBUG - 2010-10-04 19:39:13 --> Config Class Initialized DEBUG - 2010-10-04 19:39:13 --> Hooks Class Initialized DEBUG - 2010-10-04 19:39:13 --> Unicode Class Initialized DEBUG - 2010-10-04 19:39:13 --> Unicode Class - UTF-8 Support Enabled DEBUG - 2010-10-04 19:39:13 --> URI Class Initialized DEBUG - 2010-10-04 19:39:13 --> Router Class Initialized DEBUG - 2010-10-04 19:39:13 --> Output Class Initialized DEBUG - 2010-10-04 19:39:13 --> Input Class Initialized DEBUG - 2010-10-04 19:39:13 --> Global POST and COOKIE data sanitized DEBUG - 2010-10-04 19:39:13 --> Language Class Initialized DEBUG - 2010-10-04 19:39:13 --> Loader Class Initialized DEBUG - 2010-10-04 19:39:13 --> Database Driver Class Initialized DEBUG - 2010-10-04 19:39:13 --> Language Class Initialized DEBUG - 2010-10-04 19:39:13 --> Config Class Initialized DEBUG - 2010-10-04 19:39:13 --> Welcome MX_Controller Initialized DEBUG - 2010-10-04 19:39:13 --> File loaded: /.../application/controllers/../modules/test/controllers/test.php DEBUG - 2010-10-04 19:39:13 --> Test MX_Controller Initialized DEBUG - 2010-10-04 19:39:13 --> Model Class Initialized NOTE: I've removed the full path in the ante-penultimate line. |