Welcome Guest, Not a member yet? Register   Sign In
Unable to load the requested class: database
#1

[eluser]reidz[/eluser]
I tried to load this library and "Unable to load the requested class: database" pop out, i cant find any of native CI library file named Database in library folder
So anybody can help me ?? any help will be apreciated, thanks
#2

[eluser]Bas Vermeulen[/eluser]
From what kind of file are you trying to load your database lib? Should be from a controller. If you use your database a lot in your application I'd advice to auto load it:

@ application / config / autoload.php
Code:
$autoload['libraries'] = array('database');

All database lib files are located in the folder /system/database.
#3

[eluser]reidz[/eluser]
solved, my mistake, sorry n thanks




Theme © iAndrew 2016 - Forum software by © MyBB