Results 1 to 7 of 7

Thread: phpnuke problem

  1. #1
    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:
    Warningsetlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants insteadin /home/plaza/public_html/main/mainfile.php on line 565 
    the url is http://webplaza.uni.cc/main/

    Is there something i have to do?? or is that a bug??


  2. #2
    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?

  3. #3
    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?


  4. #4
    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.

  5. #5
    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

  6. #6
    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!

  7. #7
    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


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •