How to catch database exception and not display it to browser |
[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; Code: $db['default']['db_debug'] = FALSE; 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-23-2010, 09:10 PM
How to catch database exception and not display it to browser - by El Forum - 03-24-2010, 01:28 AM
How to catch database exception and not display it to browser - by El Forum - 03-24-2010, 01:33 AM
How to catch database exception and not display it to browser - by El Forum - 03-24-2010, 01:48 AM
How to catch database exception and not display it to browser - by El Forum - 03-24-2010, 02:25 AM
How to catch database exception and not display it to browser - by El Forum - 03-24-2010, 02:32 AM
How to catch database exception and not display it to browser - by El Forum - 03-24-2010, 02:48 AM
|