Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 12-04-2004, 06:03 PM   #1 (permalink)
 
Junior Techie

Join Date: Oct 2004

Posts: 73

MrSpecial is on a distinguished road

Send a message via AIM to MrSpecial
Default PHP Error

For some reason, I am getting this error with my php-nuke site. I get the following error:
PHP Code:
Fatal errorCall to undefined function: message_die() in /var/www/html/phpnuke/db/db.php on line 88 
I checked out the line, and it states the following:

PHP Code:
        include("".$the_include."/db2.php"); 
I have no idea what to do, and so I came here for help Your help would be greatly appreciated!
MrSpecial is offline  
Old 12-05-2004, 07:05 PM   #2 (permalink)
 
Junior Techie

Join Date: Oct 2004

Posts: 73

MrSpecial is on a distinguished road

Send a message via AIM to MrSpecial
Default

Ok, I tried uploading my whole 'db' folder, but it still does not work.
MrSpecial is offline  
Old 12-07-2004, 04:28 PM   #3 (permalink)
 
Newb Techie

Join Date: Oct 2004

Posts: 6

thedaniel

Default

PHP Code:
include("".$the_include."/db2.php"); 
Why do you have ' "" ' before the variable?
thedaniel is offline  
Old 12-07-2004, 07:49 PM   #4 (permalink)
 
Junior Techie

Join Date: Oct 2004

Posts: 73

MrSpecial is on a distinguished road

Send a message via AIM to MrSpecial
Default

I have no idea. I know pretty much nothing of PHP, and this is the file which comes with phpnuke. What should it be?
MrSpecial is offline  
Old 12-08-2004, 01:33 PM   #5 (permalink)
 
Newb Techie

Join Date: Oct 2004

Posts: 6

thedaniel

Default

I don't think that it matters to this error, but 'include($the_include."/db2.php");' would have the same effect.
' "" ' is just null, and '.' adds several values to a function, if you want to include multiple variables.

Actually I'm quite new to ;D
thedaniel is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On