• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loader question

#1
[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
Code:
$this->load->library('FAL_validation', 'fal_validation');
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..

#2
[eluser]Yash[/eluser]
[quote author="Carl_A" date="1217537567"]
Can libraries not be loaded outside the constructor?
[/quote]

Yes they can
Quote: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.

Just read more about this Auth Lib. There is one more Auth Lib try that...

or design your always..Like I did

#3
[eluser]Carl_A[/eluser]
im trying redux auth now..

i wanted to find an already made library simply because there are security issues, which im afraid im not very experienced with.. so why re-invent the wheel? Tongue


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.