icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.
Old January 30th, 2004, 5:31 PM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Jan 2004
7 posts
Gave thanks: 0
Thanked 0 times
I am using php-nuke on my site. When I pull up my main page, the following warning reads:

Warning: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /home/stmarku/public_html/index/mainfile.php on line 565


How do I fix this?

Thanks!
Enigmothy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old January 30th, 2004, 7:09 PM   #2 (permalink)
the one who was
Super #1
 
patrickb's Avatar
 
Joined in Jul 2003
Lives in Memphis
1,967 posts
Gave thanks: 0
Thanked 3 times
Hi, anytime you see that error message, you need to download that specific file mentioned or edit it in Cpanel.

Find the lines that start with "setlocale(...." and change them to "setlocale(...."

This will suppress that error warning.

Be warned, there are a LOT of those lines throughout PhpNuke.
__________________
Patrick

Warnings: The program(s) might crash unexpectedly or behave otherwise strangely. (But of course, so do many commercial programs on Windows.) --www.gimp.org
patrickb is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On