Database.php Error - Blog Tutorial |
[eluser]php-zbatev[/eluser]
Hello, I'm new to CodeIgniter and this is my first post... I was following the Blog Tutorial Screencast but I'ved encountered this error when I tried this(http://localhost/ci_helloworld/index.php...affolding/): THE ERROR: An Error Was Encountered Your database.php file does not appear to contain a valid configuration array. My DATABASE.PHP $active_group = "default"; $active_record = TRUE; $db['default']['hostname'] = "localhost"; $db['default']['username'] = "root"; $db['default']['password'] = "mysqlpassword"; //ive set this to my password $db['default']['database'] = "blog"; $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"; Please help, thank you. |
Messages In This Thread |
Database.php Error - Blog Tutorial - by El Forum - 05-08-2008, 10:25 AM
Database.php Error - Blog Tutorial - by El Forum - 05-08-2008, 10:52 AM
|