Issue Bug Closed

#20794TYPO3 dies without an error message when the mysql-module for php is not loaded

Michael Knabe 07/29/09, 20:24 updated 08/06/10, 13:26

Description

t3lib_db::sql_pconnect causes a “Fatal error: Call to undefined function mysql_pconnect() in /data/home/michaelk/TYPO3/typo3_src-trunk/t3lib/class.t3lib_db.php on line 949” when PHP doesn’t support MySQL.
However, this error message is neither shown nor logged, as error messages are disabled (using the @-sign).
I provided a patch that shows a human-readable error-message instead.

(issue imported from #M11599)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.