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

Michael Stucki michael at typo3.org
Mon Jul 16 14:22:09 CEST 2007


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

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list