Welcome Guest, Not a member yet? Register   Sign In
Error Reporting
#1

[eluser]Unknown[/eluser]
It's not enough only to set
Code:
case 'production':
   error_reporting(0);
because DB errors will still be displayed.
There is a method to disable all errors to be displayed?
#2

[eluser]vitoco[/eluser]
i think that in the db settings the DB debug param disable those errors
#3

[eluser]web-johnny[/eluser]
No there is not such a method but you can go manually to your database config application/config/database.php and change the
Code:
$db['default']['db_debug'] = TRUE;
to
Code:
$db['default']['db_debug'] = FALSE;
#4

[eluser]Unknown[/eluser]
Thanks for your advice. In the future I find useful to exist such a method in framework.




Theme © iAndrew 2016 - Forum software by © MyBB