Welcome Guest, Not a member yet? Register   Sign In
Problem loading custom library
#5

[eluser]frost9928[/eluser]
[quote author="adamp1" date="1271247242"]Well since its a library first of all it won't extend a controller. A library should be as follows
Code:
class Taxcalc
{
    function Taxcalc()
    {
    }

    ....
}

So change that in both your library's. For more details please read this page in the user guide http://ellislab.com/codeigniter/user-gui...aries.html[/quote]


That's what I tried originally and I swapped back to that style and unfortunately it didn't work either. Auto loading the library worked fine but I hate to think that I'd have to do that for every library I write because it just makes the script so much longer than it really needs to be even though it just stays dormant.


Messages In This Thread
Problem loading custom library - by El Forum - 04-13-2010, 11:36 PM
Problem loading custom library - by El Forum - 04-14-2010, 01:12 AM
Problem loading custom library - by El Forum - 04-14-2010, 01:14 AM
Problem loading custom library - by El Forum - 04-14-2010, 01:29 AM
Problem loading custom library - by El Forum - 04-14-2010, 08:28 AM
Problem loading custom library - by El Forum - 04-14-2010, 11:05 PM
Problem loading custom library - by El Forum - 04-15-2010, 07:32 AM
Problem loading custom library - by El Forum - 04-15-2010, 07:54 AM
Problem loading custom library - by El Forum - 04-15-2010, 08:22 AM
Problem loading custom library - by El Forum - 04-15-2010, 10:57 PM
Problem loading custom library - by El Forum - 04-16-2010, 11:45 AM
Problem loading custom library - by El Forum - 05-02-2010, 05:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB