Results 1 to 7 of 7
Thread: phpnuke problem
-
09-27-2003, 09:24 PM #1Web Hosting Master
- Join Date
- Aug 2003
- Location
- Dallas, TX USA
- Posts
- 2,812
phpnuke problem
I'm completly new to php nuke so i auto-installed it with cPanel
But on the main page i keep getting this error
PHP Code:Warning: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead. in /home/plaza/public_html/main/mainfile.php on line 565
Is there something i have to do?? or is that a bug??
-
09-28-2003, 12:22 AM #2Junior Guru Wannabe
- Join Date
- Dec 2002
- Location
- esperanto
- Posts
- 50
I saw exactly same error message at php programmer's site, so I think its bug, not something you did...
Did you search or post question in the php-nuke forum?
-
09-28-2003, 02:29 PM #3Web Hosting Master
- Join Date
- Aug 2003
- Location
- Dallas, TX USA
- Posts
- 2,812
Hope i don't sound stupid, but where are the forums is it somewhere at phpnuke.org?
-
09-28-2003, 03:01 PM #4Junior Guru Wannabe
- Join Date
- Dec 2002
- Location
- esperanto
- Posts
- 50
Yeah, you're right, I cannot find the phpnuke forum, sorry, I must confused with PostNuke, but I found this:
http://www.ruleit.co.uk/nuke/forums/
Or, you can google, you should find some help forums for phpnuke...
To be honest, I never tried phpnuke or postnuke, but envolution.com , envolution is claim to be most secure cms out there.
-
09-28-2003, 03:09 PM #5Web Hosting Master
- Join Date
- Jul 2003
- Location
- Kuwait
- Posts
- 5,104
You have a few options, you can fix the problem [1] chose to ignore it [2], or use something else [3]
[1]
1. Open up mainfile.php
2. Search to line number 565
3. Edit the setlocale function so that instead of taking a string, it takes the LC_* equivalents, which you can look up here
4. Save the file
5. Refresh
[2]
Set error reporting to a different level :
1. error_reporting (E_ALL ^ E_NOTICE); in each php file.
2. ini_set ('error_reporting', E_ALL ^ E_NOTICE); in one php file that is executed (might not work in all situations)
3. Edit the php.ini file to set error reporting to ignore notices
[3]
http://www.drupal.org
http://www.plone.org
-
09-28-2003, 03:12 PM #6Web Hosting Master
- Join Date
- Apr 2003
- Posts
- 908
fyre is correct, but in planner english it is:
Remove the quotes from around "LC_TIME" in those files/lines mentioned in your errors. This means "LC_TIME" should be changed to LC_TIME
This problem is usually in multiple modules, so make sure to try them all out.I buy vBulletin licenses and vBSEO licenses!
-
09-28-2003, 03:55 PM #7Web Hosting Master
- Join Date
- Aug 2003
- Location
- Dallas, TX USA
- Posts
- 2,812
Man, thanks alot, everyone, really.
I'll edit the file as you all said. or i'll use something else.
Thanks alot