10-11-2010, 08:56 AM
[eluser]Nameless One[/eluser]
I have this problem where CodeIgniter is returning a blank page whenever I have a bad query. Since I'm migrating from a MySQL database and CI doesn't behave very well with PostgreSQL, there will certainly be an error in almost every query.
My database.php is as follows:
What should I do to get my sql errors reported by CI?
I have this problem where CodeIgniter is returning a blank page whenever I have a bad query. Since I'm migrating from a MySQL database and CI doesn't behave very well with PostgreSQL, there will certainly be an error in almost every query.
My database.php is as follows:
Code:
$db['default']['hostname'] = "localhost";
$db['default']['dbdriver'] = "postgre";
$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;
What should I do to get my sql errors reported by CI?