[Typo3-dev] TV incompatible with PHP < 4.3.0

Ries van Twisk typo3 at rvt.dds.nl
Thu Mar 31 20:40:07 CEST 2005


I had the same problem on my Debian Woody system,

I also had to change it.... but it would be greate if it's compatible 
with PHP version lower then 4.3

it has been notified before, but not at bugtrack...
/sa 
http://lists.netfielders.de/pipermail/typo3-dev/2004-November/006626.html

Ries

> Hi!
>
> This is strange because it works perfectly with PHP 4.1.2 on my server.
>
> Dmitry.
>
> Kraft Bernhard wrote:
>
>> Hallo list,
>>
>>
>> There is a little mistake which makes TV incompatible with PHP below 
>> 4.3.0.
>>
>> As the PHP Doc states for implode:
>> Note:  As of PHP 4.3.0, the glue parameter of implode() is optional 
>> and defaults to
>> the empty string(''). This is not the preferred usage of implode(). 
>> We recommend to
>> always use two parameters for compatibility with older versions.
>>
>>
>> In line 295 and 315 of class.tx_templavoila_mod1_sidebar.php there's 
>> a code part:
>> implode ($optionsArr)
>> which should get modified to:
>> implode ('', $optionsArr)
>>
>>
>> Hope this gets fixed ...
>>
>>
>> greets,
>> Bernhard
>
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev



-- 
R. van Twisk
http://www.metamorf.net

Our Typo3 enabled website: http://www.livetravelguides.com
Instand help for Typo3?    irc:/irc.freenode.net/typo3
Looking for documentation? http://typo3.org/documentation/






More information about the TYPO3-dev mailing list