Hallo Gemeinde!
Ich habe im Setup Bereich die Sprache einstellen wollen und beim Aufruf der Seite kam folgender Fehler:
Warning: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /typo3_src-3.5.0/tslib/class.tslib_fe.php on line 1346
Ich benutze Typo3.5, Linux, RedHat!
Sind irgendwelche Einstellung falsch?
Diesen Code hab ich benutzt:
# Standardsprache festlegen
config.locale_all = de_DE@euro
mfg gomezs
# Change by Rene Fritz, 22/10 2002
# there`s the problem that PHP parses float values in scripts wrong if the locale LC_NUMERIC is set to something with a komma as decimal point
# this does not work in php 4.2.3
# setlocale("LC_ALL",$this->config["config"]["locale_all"]);
# setlocale("LC_NUMERIC","en_US");
# so we set all except LC_NUMERIC
setlocale("LC_COLLATE",$this->config["config"]["locale_all"]);
setlocale("LC_CTYPE",$this->config["config"]["locale_all"]);
setlocale("LC_MONETARY",$this->config["config"]["locale_all"]);
setlocale("LC_TIME",$this->config["config"]["locale_all"]);
Das ist die Stelle wo es nicht gehen soll!
Steht bloß da das es in PHP 4.2.3 nicht geht!
Wie kann man das Problem umgehen?