Welcome Guest, Not a member yet? Register   Sign In
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.




Theme © iAndrew 2016 - Forum software by © MyBB