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

Franz Koch typo3.RemoveForMessage at elements-net.de
Thu Jun 10 19:58:20 CEST 2010


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.

-- 
kind regards,
Franz Koch


More information about the TYPO3-team-core mailing list