Welcome Guest, Not a member yet? Register   Sign In
Model not recognized using My_Controller
#1

[eluser]Ed Robindon[/eluser]
I have created MY_Controller so that site wide things are added to CI_Controller.

Now my controllers extend MY_Controller and load their models in the constructor.

The problem is that when I reference the model i get an error about a non-existant object.

If I put the load statement in the functions that use the model, all is well.

Help?


Messages In This Thread
Model not recognized using My_Controller - by El Forum - 02-16-2012, 09:05 AM
Model not recognized using My_Controller - by El Forum - 02-16-2012, 09:38 AM
Model not recognized using My_Controller - by El Forum - 02-16-2012, 09:41 AM
Model not recognized using My_Controller - by El Forum - 02-16-2012, 09:50 AM
Model not recognized using My_Controller - by El Forum - 02-16-2012, 11:12 AM
Model not recognized using My_Controller - by El Forum - 02-16-2012, 03:18 PM
Model not recognized using My_Controller - by El Forum - 02-16-2012, 05:03 PM
Model not recognized using My_Controller - by El Forum - 02-16-2012, 09:12 PM
Model not recognized using My_Controller - by El Forum - 02-17-2012, 09:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB