tasso Posted September 5, 2003 Posted September 5, 2003 Hello, i tried to install the greek language and got the following error message in the index.php Warning: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /home/www/web1/html/eshop/catalog/includes/languages/greek.php on line 12 sorry i am an php beginner and do not understand what to do. please give me some help thanks a lot tasso
Guest Posted September 5, 2003 Posted September 5, 2003 Hi I have just started, and I'm getting the same warning.
NunoLuz Posted September 23, 2003 Posted September 23, 2003 I have it too, also I am getting some links totaly off like box, header, and footer, english version works well though, can anyone help?? The language I am trying to install is Portuguese, so I tryed to change this line: setlocale('LC_TIME', 'pt_PT.ISO_8859-1'); but it didn?t work :( Nuno Portugal Nuno Luz
Guest Posted September 23, 2003 Posted September 23, 2003 setlocale('LC_TIME', 'nl_NL.ISO_8859-1'); remove the qoutes from LC_TIME With the quotes there it thinks LC_TIME is being passed as a string; this is deprecated. Without the quotes it treats LC_TIME as the constant it is (one of the LC_* constants mentioned above.) I don't recall if this was a bug in earlier versions of php or if this just became deprecated with 4.3, but either way it explains why we haven't seen the warning before (and why we're seeing it in a number of scripts now - not just oscommerce.) Greetings John
NunoLuz Posted September 26, 2003 Posted September 26, 2003 Great hint there John2b! Worked just fine! Big thanks!!!! Regards Nuno Portugal Nuno Luz
NunoLuz Posted September 26, 2003 Posted September 26, 2003 Great hint there John2b! Worked just fine! Big thanks!!!! Regards Nuno Portugal Nuno Luz
NunoLuz Posted September 26, 2003 Posted September 26, 2003 Great hint there John2b! Worked just fine! Big thanks!!!! Regards Nuno Portugal Nuno Luz
NunoLuz Posted September 26, 2003 Posted September 26, 2003 Great hint there John2b! Worked just fine! Big thanks!!!! Regards Nuno Portugal Nuno Luz
NunoLuz Posted September 26, 2003 Posted September 26, 2003 Great hint there John2b! Worked just fine! Big thanks!!!! Regards Nuno Portugal Nuno Luz
NunoLuz Posted September 26, 2003 Posted September 26, 2003 Great hint there John2b! Worked just fine! Big thanks!!!! Regards Nuno Portugal Nuno Luz
NunoLuz Posted September 26, 2003 Posted September 26, 2003 OH boy, this forum is going crazy, I just wanted to post this reply once Nuno Luz
Recommended Posts
Archived
This topic is now archived and is closed to further replies.