[TYPO3-core] RFC: Bug 5941: exact reason why db connect failed is missing
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Sat Aug 4 19:04:12 CEST 2007
Easy to test and helpful as well.
Michael Stucki schrieb:
> Works fine, +1
>
> - michael
>
> Martin Kutschker wrote:
>
>> Hi!
>>
>> 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.
>>
>> Masi
>
More information about the TYPO3-team-core
mailing list