[TYPO3-core] FYI: Fixed bug #14662: htmlArea RTE: Should use t3lib_utility_Client::getBrowserInfo

Steffen Kamper info at sk-typo3.de
Thu Jun 10 20:13:57 CEST 2010


Hi,

Franz Koch schrieb:
> And hi again,
> 
>> Reason seems to be that in class.tx_rtehtmlarea_base.php
>> $this->client['browser'] is 'unknown' although 'useragent' is displaying
>> the correct browser and the 'system' is also detected correctly.
>> So it seems to be a issue with t3lib_utility_client that's not detecting
>> the browser correctly as the preg_match fails for some reason. Didn't
>> get it working so far using latest SVN revision.
> 
> sorry for spamming the core list. I found the reason. The preg_match 
> fails on my server due to the '?<browser>' and '?<version>' patterns 
> which are only supported since php 5.2.2, but I'm running 5.2.0 (which 
> is the minimum requirement for TYPO3 4.3+ right?).
> 
> Changing those patterns to '?P<browser>' and '?P<version>' solved the 
> issue for me.
> 

good to know - i will change it to ?P<...> to be compatible with 5.2.0

vg Steffen


More information about the TYPO3-team-core mailing list