[TYPO3-core] RFC: Bug 5941: exact reason why db connect failed is missing

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Fri Jul 13 22:57:52 CEST 2007


This is a patch request:

Branch: trunk, TYPO3_41

Problem: the @ operator is used for mysql_connect. This hides the error, 
but the message is lost because mysql_error works only for an 
established connection.

Solution: use the track_errors PHP setting to retrieve the error message.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug5941.diff
Type: text/x-diff
Size: 1457 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070713/0751f165/attachment.bin 

More information about the TYPO3-team-core mailing list