Welcome Guest, Not a member yet? Register   Sign In
How to catch database exception and not display it to browser
#7

[eluser]Shiro[/eluser]
[quote author="stommert" date="1269437543"]I don't know why you are posting this message on this thread, and what the problem is with the excellent user guide, but here we go (again); Database errors are configured in the database config. If you don't want them to be outputted to the browser. Just set
Code:
$db['default']['db_debug'] = TRUE;
to
Code:
$db['default']['db_debug'] = FALSE;
succes...[/quote]

Many Thanks for your information, I just think about set php error to turn off, dont have a thought disable from db_debug.
Really thank you for your patient and your help.


Messages In This Thread
How to catch database exception and not display it to browser - by El Forum - 03-24-2010, 02:48 AM



Theme © iAndrew 2016 - Forum software by © MyBB