Download the PHP package steffenmaechtel/exception_handling_for_typo3_db without Composer
On this page you can find all versions of the php package steffenmaechtel/exception_handling_for_typo3_db. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download steffenmaechtel/exception_handling_for_typo3_db
More information about steffenmaechtel/exception_handling_for_typo3_db
Files in steffenmaechtel/exception_handling_for_typo3_db
Package exception_handling_for_typo3_db
Short Description TYPO3 CMS extension: Throw exception in case of error instead of show error with DebugUtility::debug
License GPL-2.0-or-later
Homepage https://github.com/steffenmaechtel/exception_handling_for_typo3_db
Informations about the package exception_handling_for_typo3_db
exception_handling_for_typo3_db extension for TYPO3 CMS
Throw exception in case of error instead of show error with DebugUtility::debug
Current handling in TYPO3 8.x with the old $GLOBALS['TYPO3_DB']
Execution of a wrong sql query only shows a debug message and dont throw an exception
In case of using a redirect after this query ($this->redirect()) the error is not shown at all
What does this extension do
Overload the class behind $GLOBALS['TYPO3_DB'] and throw exception in case of sql error
Notice
Avoid using $GLOBALS['TYPO3_DB']. Its deprecated since TYPO3 8.5.
Use the new \TYPO3\CMS\Core\Database\ConnectionPool.
This extension might help in case you cant rewrite old stuff using $GLOBALS['TYPO3_DB'].