Phpnuke

C

Cyfr

Guest
Hello could anyone help me with a problem..

Ive just uploaded phpnuke to my site and get the following error:

Fatal error: Call to undefined function: message_die() in /home/cyfr/public_html/db/db.php on line 88
 
S

(Shovel)

Guest
OK, I'm running PHPNuke (albeit locally) and not having the same problems.

Essentially, db.php is (predictably) responsible for database access. Best thing, take a look in the db.php file and find out what it's supposed to be doing that might be causing it to try and die in the first place. the PHP die function isn't being used here, but Nuke has a habit of writing wrappers for most functions (sql queries mainly), with the view toward making it more multi platform, or covering it's arse when something goes wrong.

If the function is undefined, it suggests that "message_die()" is located somewhere else, and that the relevent file isn't being included.

The main thing is that you don't want it to be trying to die, regardless of whether it suceeds.
Check that your database variables are set up correctly, and that all relevent files have be chmod-ded as defined in the installation instructions.
 
C

Cyfr

Guest
Thanks its sorted, I edited my config incorrectly :p
 

Users who are viewing this thread

Top Bottom