Welcome Guest, Not a member yet? Register   Sign In
Loading a library (works fine in native php)
#2

[eluser]jedd[/eluser]
[quote author="deco10" date="1260936314"]
I renamed the files so they matched the name of the class in the file which gets CI to (try) and load them. It gives me a load of errors though (in this case an undefined index in the class)
[/quote]

Show, rather than tell. Specifically, file name and location - and class declaration (inside the library) - and error message (verbatim).

The error - does it give a line number? Is it the load-> or the & new line in the controller, or an error within the library file?


Messages In This Thread
Loading a library (works fine in native php) - by El Forum - 12-15-2009, 04:05 PM
Loading a library (works fine in native php) - by El Forum - 12-15-2009, 04:18 PM
Loading a library (works fine in native php) - by El Forum - 12-15-2009, 04:32 PM
Loading a library (works fine in native php) - by El Forum - 12-15-2009, 08:19 PM



Theme © iAndrew 2016 - Forum software by © MyBB