Question:

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
zAney
Forum Newbie
Posts: 3
Joined: Fri Jan 31, 2003 6:09 pm
Location: Alabama

Question:

Post by zAney »

My php nuke site seems to have an error. I am not expereinced in php nuke and the server admin doesn't know the problem.

My url is http://www.teammi.thugstyle.net

If you notice I have this "Warning" before every new's post. It also has the same problem with the poll.

Here are the errors:

For news:
Warning: setlocale() [function.setlocale]: Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /usr/local/psa/home/vhosts/teammi.thugstyle.net/httpdocs/mainfile.php on line 565

If you can, PLEASE HELP ME!! I am really confused because I have never had this problem before. If you can help pleae send me an e-mail @ shorty9238@knology.net or AIM = hz311. Thanks!!
User avatar
redcircle
Forum Commoner
Posts: 43
Joined: Fri Jan 31, 2003 8:47 pm
Location: michigan, usa

Post by redcircle »

if you were not getting an error before then I would guess that your server recently had thier version of PHP updated. So I would encourage you to update your php-nuke verion that is compatible with the new version.
zAney
Forum Newbie
Posts: 3
Joined: Fri Jan 31, 2003 6:09 pm
Location: Alabama

It is the newest phpnuke

Post by zAney »

?? I installed the newest php nuke to the server. With older version's I havent had this problem.
User avatar
twigletmac
Her Royal Site Adminness
Posts: 5371
Joined: Tue Apr 23, 2002 2:21 am
Location: Essex, UK

Post by twigletmac »

Personally I'd be hunting out the files and the lines on which the error is occuring and fixing them.

The manual page for the function affected is:
http://www.php.net/manual/en/function.setlocale.php

If you post one of the lines that is giving you the error we may be able to help you adjust it so it works.

Mac
zAney
Forum Newbie
Posts: 3
Joined: Fri Jan 31, 2003 6:09 pm
Location: Alabama

I thought I did post the exact warning.

Post by zAney »

If I didn't here it is:

aHHH well nevermind, I am just going to install phpnuke 5.0
Post Reply