[TYPO3-core] RFC: Bug 5941: exact reason why db connect failed is missing
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Mon Aug 6 21:45:02 CEST 2007
Ernesto Baschny [cron IT] schrieb:
> Martin Kutschker wrote: on 13.07.2007 22:57:
>
>> 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.
>
> Works as expected. I think we are safe to use ini_set / restore even in
> a safe_mode environment, right?
It's ok.
> So +1 from me, TRUNK + TYPO3_41
Committed (both branches).
Masi
More information about the TYPO3-team-core
mailing list