Did you try adding this?
PHP Code:
$error = $db->error(); // Has keys 'code' and 'message'
If there is an error it should give you the information.
You may also need to use the full namespace name.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )