[TYPO3-dev] SQL errors in Install Tool in TRUNK (possibly related to new cache system?)

Franz Holzinger franz at ttproducts.de
Sat Mar 7 08:28:51 CET 2009


Xavier Perseguers a écrit :
> Hi Patrick,
> 
> First of all, great to have sent a post hour "constant Pi" this morning ;-)
> 
>>>>> So I suppose it's just a question of testing inside the devlog 
>>>>> extension whether the TYPO3_DB object already exists.
>>>
>>> Just an idea: it may be nice in a future version of devlog to be able 
>>> to log to a file instead. This would allow debugging the setup tool too.
>>
>> My understanding of the Install Tool is that it should be independent 
>> from TYPO3. Meaning that a faulty TYPO3 should not have any impact on 
>> the Install Tool.
>>
>> Am I right ?
> 
> Yes as the install tool is here to actually configure TYPO3 such that it 
> runs smoothly. Install tool does not issue (or should not issue) PHP 
> warnings/errors when trying to connect to the DB. As Francois pointed 
> out, this may be caused by the use of devlog call in install code. When 
> you do not have this extension, no problem, but when you have it, it 
> tries to log information to the DB which, as Francois found, is not yet 
> available / corresponding classes are not instantiated.


This happens, because since the latest changes in trunk the deprecated 
functions of TYPO3 core call t3lib_div::logDeprecatedFunction.

http://bugs.typo3.org/view.php?id=10622

There should be a switch to allow and disallow the logging. It should be 
enabled in the extension and not before.

- Franz





More information about the TYPO3-dev mailing list