El Forum
07-31-2008, 09:52 AM
[eluser]Carl_A[/eluser]
I just installed FreakAuth_light, and i was getting the following error, which i posted Here
I fixed that by moving the function to load the library
into the constructor of the class.
Now I see that all classes that load libraries within other functions (not the constructor) are causing the same error.
Can libraries not be loaded outside the constructor?
If they can, is it something to do with some settings? I even tried it on my older project, i get the same error if I dont load libraries within the constructor itself..
I just installed FreakAuth_light, and i was getting the following error, which i posted Here
I fixed that by moving the function to load the library
Code:
$this->load->library('FAL_validation', 'fal_validation');
Now I see that all classes that load libraries within other functions (not the constructor) are causing the same error.
Can libraries not be loaded outside the constructor?
If they can, is it something to do with some settings? I even tried it on my older project, i get the same error if I dont load libraries within the constructor itself..