Welcome Guest, Not a member yet? Register   Sign In
Problems with modular extensions
#1

[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?
#2

[eluser]carnalito[/eluser]
Whats in your error.log?
Is error_reporting(E_ALL) set?

carnalito
#3

[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.




Theme © iAndrew 2016 - Forum software by © MyBB