Fatal error: Call to undefined function: db.php on line 88

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Fatal error: Call to undefined function: db.php on line 88
Terkin
CZ Newbie
Terkin has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jan 21, 2004
0.00 posts per day
Posts: 17
Points: 994
   
Hi, i'm trying to install php-nuke on my website but i got this error :

Fatal error: Call to undefined function: message_die() in /home/riure/www/db/db.php on line 88
[ Register or login to view links on this board. ]

That's why I ve to upload nuke.sql to database for create the tables ? If yes, how can i do this without myphpadmin. No way to do this anithingelse ?

Thanks



Back to top Reply with quote
#2   re: Fatal error: Call to undefined function: db.php on line
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
You are not connecting to the database make sure the settings in your config.php match those of your web host.


these 4 are most important:

host
user name
mysql pw
mysql table name


All those need to be configured correctly.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   re: Fatal error: Call to undefined function: db.php on line
Terkin
CZ Newbie
Terkin has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jan 21, 2004
0.00 posts per day
Posts: 17
Points: 994
   
This one fixed.
But now i got lots of errors. can u look this please. ?
[ Register or login to view links on this board. ]



Back to top Reply with quote
#4   re: Fatal error: Call to undefined function: db.php on line
Terkin
CZ Newbie
Terkin has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jan 21, 2004
0.00 posts per day
Posts: 17
Points: 994
   
Problems solved again.
But now, when I try to login, i fill up and when i click on OK nothing happens and the page reload again, empty, without any error message.
You can try [ Register or login to view links on this board. ]
tks



Back to top Reply with quote
#5   re: Fatal error: Call to undefined function: db.php on line
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
It looks like your missing some tables where you able to run the nuke.sql? What version of nuke is this?




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#6   re: Fatal error: Call to undefined function: db.php on line
Terkin
CZ Newbie
Terkin has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jan 21, 2004
0.00 posts per day
Posts: 17
Points: 994
   
Ok, here is the deal, i just uploaded phpnuke 7.0 to my host, got the database set up fine, got rid of the errors i was getting, but now, when i go into the admin page, it says 'There are no Administrators Accounts yet, proceeed to create the Super User:'
So i fill out their little form, and hit submit, now it takes me to an "Administration System Login' page, and i put the login information in it, and it takes me back to the create super user page.

Can anybody help me?



Back to top Reply with quote
#7   re: Fatal error: Call to undefined function: db.php on line
Terkin
CZ Newbie
Terkin has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jan 21, 2004
0.00 posts per day
Posts: 17
Points: 994
   
I solved the problem, now the site runs fine. For people that got same problem, i downloaded and use this file :

Nuke Sql 6.9

The latest version of NukeSQL.php, this one for PHP-Nuke 6.9, includes:


Installation of all database tables through a web browser based point & click script
Replace all tables option, allows you to start from scratch if your database tables become corrupted and no backup is available


New upgrade options:
PHP-Nuke 6.0 to 6.9 upgrade
Upgrade PHP-Nuke 6.0 and bbtonuke 2.0.6 to Nuke 6.9
PHP-Nuke 6.5 to 6.9 upgrade
PHP-Nuke 6.6 to 6.9 upgrade
PHP-Nuke 6.7 to 6.9 upgrade
PHP-Nuke 6.8 to 6.9 upgrade



Back to top Reply with quote
#8   re: Fatal error: Call to undefined function: db.php on line
Moishe
CZ Newbie
Moishe has been a member for over 20 year's 20 Year Member
Occupation: Technical Director
Gender: Male
Website:
Status: Offline
Joined: Feb 04, 2004
0.00 posts per day
Posts: 19
Points: 726
 Yahoo Messenger  
I am also getting this error.

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


what info can i give to solve this problem



Back to top Reply with quote
#9   re: Fatal error: Call to undefined function: db.php on line
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,430
   
That means you are not connecting to the database. Check the variables in the config.php

host
username
databse name
database password

Those need to be filled in with the site information.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#10   re: Fatal error: Call to undefined function: db.php on line
Moishe
CZ Newbie
Moishe has been a member for over 20 year's 20 Year Member
Occupation: Technical Director
Gender: Male
Website:
Status: Offline
Joined: Feb 04, 2004
0.00 posts per day
Posts: 19
Points: 726
 Yahoo Messenger  
is the proper syntax

$dbhost = 'localhost';



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum