[eluser]Unknown[/eluser]
Hi
I'm actually worried about the maintenance of my app when I'll turn it to production mode. I've a problem with catching queries errors when I set my database_debug to false.
Indeed, the function _error_message() from DB library doesn't work.
For example, I tried this :
Code:
//insertion dans la table
if(!$this->db_log->insert('L_USER_LOGIN_UL',$data))
{
echo $this->db_log->_error_message();
}
With wrong column's name in the query.
However, I've nothing on the screen... The objective is to catch errors and put it into a log file to 'repair' queries and other stuff during maintenance
Thanks for answers, it would help me a lot
Matt