|
|
| Author |
Message |
yankee Private

Joined: 04 Jun 2003 Posts: 3
|
Posted: Wed Jun 04, 2003 5:02 pm Post subject: Warning: setlocale(): Passing locale category name as string |
|
|
|
Hello,
I have recently had this come up and I have never run into it before.
Warning: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /home/matthew/public_html/community/mainfile.php on line 565
Any suggestions?
Any help would be wonderful, even if it is just a suggestion to up grade... I am using 6.0 at this point.
Matthew |
|
| Back to top |
|
 |
chris Dark Lord of the Sith

Joined: 10 May 2003 Posts: 6262 Location: Outer Space
|
Posted: Fri Jun 06, 2003 6:27 pm Post subject: |
|
|
|
This is really a FAQ - actually a very, very Frequently Asked Question! So I am glad you asked.
The problem comes suddenly after your ISP has upgraded to a newer version of PHP (without telling you, of course! ).
FIX: remove the quotes that are around "LC_TIME" in the line/file mentioned in the error message displayed.
Be careful: you may get this error again and again. You will have to do the above change in *all* occurences of the LC_something constants! I think there are about 17 of them scattered all around the PHP-Nuke files...
[/b] _________________ Regards
Chris Karakas
www.karakas-online.de |
|
| Back to top |
|
 |
yankee Private

Joined: 04 Jun 2003 Posts: 3
|
Posted: Fri Jun 06, 2003 9:22 pm Post subject: |
|
|
|
oops disreguard the rest of this I missread and thought you were talking about PHPNUKE being upgraded... instead of php it's self
*Does this mean I dont need to upgrade my php nuke that it is now 6.5? I know they were offering the 6.5 verson but didnt realise the upgrade was automatic...*
thanks for your help ,
Matthew |
|
| Back to top |
|
 |
10thmandown Private

Joined: 26 Apr 2006 Posts: 1
|
Posted: Wed Apr 26, 2006 3:34 pm Post subject: Just used this answer for a similar problem!! |
|
|
|
Thanks matey...
It's people like you that make working IT a pleasure rather than a chore...
Thanks again |
|
| Back to top |
|
 |
|
|
 |
|
|