Reputation: 699
I have developed a website with out any database using codeigniter, this site is working fine on local host but when I uploaded this site to live server this is showing the database error. link to website is : http://flojoco.com/dev/sabor-latino/ I have left the values for database.php empty as follows:
$db['default']['hostname'] = '';
$db['default']['username'] = '';
$db['default']['password'] = '';
$db['default']['database'] = '';
$db['default']['dbdriver'] = 'mysql';
I dont know how to solve this problem now. Any help much appreciated in advance.
Upvotes: 1
Views: 76
Reputation: 16117
Goto config/autoload.php and check this array:
$autoload['libraries'] = array('libary1','libaray2','database'); // example
You are loading database library in autoload file, so please remove the database library.
Upvotes: 3