[TYPO3-core] RFC #7901: Workaround for PHP-Bug with Locale tr_TR

Ernesto Baschny [cron IT] ernst at cron-it.de
Thu Aug 5 09:20:18 CEST 2010


Hi Reinhard,

+1 on reading and testing. As soon as you have an:

config.locale_all = tr_TR

in your TS-setup, you get an fatal error in the frontend:

Fatal error: Call to undefined method tslib_fe::setUrlIdToken() in
.../typo3/sysext/cms/tslib/index_ts.php on line 433

This is ugly and really annoying. Your patch fixes it without too much
side effects.

I would say it is also a candidate for the 4.4 and 4.3 branch.

Cheers,
Ernesto

Reinhard Führicht schrieb am 04.08.2010 17:07:
> This is an SVN patch request.
> 
> Type: Workaround
> 
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=7901 (Originally created by Alexander
> Maringer)
> 
> Branches:
> Trunk
> 
> Problem:
> There is a quite annoying bug in PHP which causes severe problems when
> setting the locale to tr_TR and trying to call functions/methods
> containing a capital "I" (http://bugs.php.net/bug.php?id=35050).
> 
> Solution:
> Do not set LC_CTYPE if the locale starts with "tr".
> 
> Notes:
> This really annoys us, since we currently have to patch the core (and
> maintain the patched core) for several projects.
> 
> 
> Regards,
> Reinhard
> 


More information about the TYPO3-team-core mailing list