[TYPO3-core] RFC: empty SYS[setDBinit] floods error log

Martin Kutschker Martin.Kutschker at blackbox.net
Thu Apr 20 11:04:59 CEST 2006


Karsten Dambekalns <karsten at typo3.org> writes on 
Wed, 19 Apr 2006 10:14:32 +0200 (METDST):

>


Ok, I commited this (HEAD and TYPO3_4-0):

$setDBinit = t3lib_div::trimExplode(chr(10), $GLOBALS['TYPO3_CONF_VARS']
['SYS']['setDBinit'], true);

I have also added the mysql error to the log entry:

t3lib_div::sysLog('Could not initialize DB connection with query "'.$v.'": '.mysql_error($this->link),'Core',3);

Masi 



More information about the TYPO3-team-core mailing list