• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loader Library (library function)

#11
[eluser]dmorin[/eluser]
@joao.sobrinho Is your library called 'libraries/layout.php' or is it called 'libraries/layout/main_layout.php'

If it's the first you don't have it backwards.

#12
[eluser]dmorin[/eluser]
Actually, it looks like the method where the error is occurring is only used for loading views and files, not libraries, models, etc so is it possible it's being caused by something else? Maybe post your whole controller if you still need help troubleshooting this.

#13
[eluser]joao.sobrinho[/eluser]
[quote author="drewbee" date="1238624690"]Do you have the file at: libraries/layout/Main_layout.php (match case);

Is the opening class called (minding case again):
Code:
class Main_layout
{

}
?[/quote]

No.

The library is called Layout. The argument is 'layout/main_layout' witch is the place where the file is in my view with the layout for the application.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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