[eluser]Emkay[/eluser]
Hi guys,
I am a bit of a novice PHP programmer and it's my first time using a PHP framework. As far as I'm finding it very helpful and convenient, I can't seem to get past a very simple hurdle. No matter how I configure my database settings I keep getting the same error:
Quote:Your application/config/database.php file does not appear to contain a valid configuration array.
My configuration settings are as follows
Code:
$active_group = 'default';
$active_record = TRUE;
$db['default']['hostname'] = 'localhost';
$db['default']['username'] = 'root';
$db['default']['password'] = 'test';
$db['default']['database'] = 'test';
$db['default']['dbdriver'] = 'mysql';
$db['default']['dbprefix'] = '';
$db['default']['pconnect'] = TRUE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = '';
$db['default']['char_set'] = 'utf8';
$db['default']['dbcollat'] = 'utf8_general_ci';
$db['default']['swap_pre'] = '';
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;
Can anyone pinpoint at the problem? I am certain the database access credentials are correct.