[TYPO3-dev] Fail-safe mechanism for database connectivity problem
Dan Frost
dan at 3ev.com
Fri Oct 6 16:38:57 CEST 2006
True - the only reason I mentioned set_error_handler is that it ensure
you avoid displaying anything "not pretty" to the public viewing your
website.
dan
Dmitry Dulepov wrote:
> Hi!
>
> Dan Frost wrote:
>> True for the exceptions - but you can catch the nasty looking DB errors
>> with set_error_handler() in PHP4. This is sufficient to hide all
>> problems that might happen (apart from Syntax errors and run-time object
>> errors).
>
> But why do we need to use set_error_handler() for database errors? They
> are perfectly detectable without it.
>
--
Dan Frost
Technical Director
3rd Eye Vision - 3ev.com
More information about the TYPO3-dev
mailing list