The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP nuke

Discussion in 'General Discussion' started by Markwaugh, Oct 29, 2003.

  1. Markwaugh

    Markwaugh Well-Known Member

    Joined:
    Aug 12, 2003
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sydney, Australia
    Hello Guys,

    I am using PHP Version 4.3.2.
    I am getting the error when trying to access a php page
    Fatal error: Call to undefined function: message_die() in /home/kiwi/public_html/Nuke/db/db.php on line 88

    line 88 contains message_die(CRITICAL_ERROR, "Could not connect to the database");

    When i try to access the nuke lin http://www.mark.co.au/Nuke/ i get the directory listing

    Index of /Nuke

    Name Last modified Size Description
    --------------------------------------------------------------------------------
    Parent Directory 29-Oct-2003 06:00 -
    ADDONS-MODULES 29-Oct-2003 06:01 10k
    BLOCKS 29-Oct-2003 06:01 4k
    CHANGES 29-Oct-2003 06:01 63k
    COPYING 29-Oct-2003 06:01 15k
    CREDITS 29-Oct-2003 06:01 2k
    INSTALL 29-Oct-2003 06:01 8k
    SUPPORT 68,157,52,21..> 29-Oct-2003 06:01 2k
    TODO 29-Oct-2003 06:01 1k
    UPGRADE 29-Oct-2003 06:01 1k
    html/ 29-Oct-2003 06:16 -
    sql/ 29-Oct-2003 06:06 -

    I have uploaded everything to the /Nuke folder. chmodded everything correctly... set up the database.

    any ideas would be higly appreciated. Thank you in advance.
     
  2. mickeymouse

    mickeymouse Well-Known Member

    Joined:
    Sep 16, 2003
    Messages:
    389
    Likes Received:
    0
    Trophy Points:
    16
    Dear Markwaugh,

    The only reason why you should ever get this message is if MySQL is either not running or has the wrong connection parameters in config.php. Problems like this is either because the config.php no longer matches the right login info for MySQL, or MySQL has gone down. Please check your username/password and other parameters.

    Regards,
     
  3. Markwaugh

    Markwaugh Well-Known Member

    Joined:
    Aug 12, 2003
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sydney, Australia
    Mickeymouse,

    Mysql was up and running and all the config files are correct. Reinstalled phpnuke in Cpanel and now it works fine.

    Thank you for ur time.
     
Loading...

Share This Page