[TYPO3-dev] Fail-safe mechanism for database connectivity problem

Dan Frost dan at 3ev.com
Fri Oct 6 14:31:30 CEST 2006


> 
> The problem is that it requires PHP5 while typo3 still should work with
> PHP4.
> 

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).

dan


-- 
Dan Frost
Technical Director
3rd Eye Vision - 3ev.com




More information about the TYPO3-dev mailing list