Welcome Guest, Not a member yet? Register   Sign In
Can't call custom library functions in my extended model (upgrading from 1.7.2. to 2.0.2)
#5

[eluser]ray023[/eluser]
[quote author="Ben Edmunds" date="1303416654"]ray023,

First thing you should fix is to move the loading of Ion Auth out of the My_Model constructor. It should either be in a MY_Controller or autoloaded. In this case I would recommend autoloading it.[/quote]

Hey Ben, thanks for the feedback. I actually do have Ion Auth loading in my extended controller. The above example was merely to demonstrate I can't get it to load in my extended model at all. It worked fine in 1.76, but it's an issue trying to upgrade 2.0.2.

It's not just Ion Auth either. I have another, much simpler, extended library that's not loading correctly in my extended model either. I'm sure I'm doing something wrong, but just haven't figure out exactly what yet.


Messages In This Thread
Can't call custom library functions in my extended model (upgrading from 1.7.2. to 2.0.2) - by El Forum - 04-21-2011, 07:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB