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   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  
made some changes and now it seems worse...these are the errors

Warning: main(language/lang-english.php): failed to open stream: No such file or directory in /home/blood/public_html/mainfile.php on line 189

Warning: main(): Failed opening 'language/lang-english.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/blood/public_html/mainfile.php on line 189

Warning: head(themes/DeepBlue/theme.php): failed to open stream: No such file or directory in /home/blood/public_html/header.php on line 31

Warning: head(): Failed opening 'themes/DeepBlue/theme.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/blood/public_html/header.php on line 31

Fatal error: Call to undefined function: themeheader() in /home/blood/public_html/header.php on line 47



Back to top Reply with quote
#2   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  
fixed the problem

db user name was wrong

some of the files did not load correctly

fixed name and reloaded nuke



Back to top Reply with quote
#3   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  
thanks for holding my hand again



Back to top Reply with quote
#4   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  
the line 88 error is definitly related to the db info



Back to top Reply with quote
#5   re: Fatal error: Call to undefined function: db.php on line
Ryman
CZ Super Newbie
Ryman has been a member for over 20 year's 20 Year Member
usa.gif illinois.gif
Occupation: Student, Webmaster, That little annoying geek
Fav. Sports Team: STL Cardinals
Website:
Status: Offline
Joined: Jan 13, 2004
0.01 posts per day
Posts: 50
Points: 3,510
   
line 88 reads, i believe:

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

or something like that. in the future, when your db goes down, it will give the fatal error, which looks unprofessional. this happens because some genius at the PHP-Nuke HQ tried to call a non-existant function, message_die(). tip: change that line to read:

die("{site name} is currently unavailable due to a database outage. Please try again later.");

replacing {site name} with the mane of your website, so then when the db goes down it will display instead of a fatal error:

{site name} is currently unavailable due to a database outage. Please try again later.

just a suggestion




_________________
Please visit my site:www.fscentral.tkYou might enjoy my friend's site:www.jakesplace.tk
Back to top Reply with quote
#6   re: Fatal error: Call to undefined function: db.php on line
LoneWolf367
CZ Newbie
LoneWolf367 has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Jun 15, 2004
0.00 posts per day
Posts: 1
Points: 125
   
I am getting such errors as well:

Parse error: parse error in /home/lonewolf/public_html/themes/test/theme.php on line 239

Fatal error: Call to undefined function: themeheader() in /home/lonewolf/public_html/header.php on line 47


My config file works just fine and I can load all the other themes. This is a theme that I've made (1st one) and I don't really know what I'm doing. So if anyone could give me some more information about how these errors might be created and fixed it'd be muchly appriciated.



Back to top Reply with quote
#7   re: Fatal error: Call to undefined function: db.php on line
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Have you tried this:
[ Register or login to view links on this board. ]



Back to top Reply with quote
#8   re: Fatal error: Call to undefined function: db.php on line
Amras_Ancalimon
CZ Super Newbie
Amras_Ancalimon has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Call Centre Customer Advisor
Age: 53
Gender: Male
Status: Offline
Joined: Oct 17, 2004
0.01 posts per day
Posts: 63
Points: 3,249
   
I have similar errors...


Warning: head(themes/Plasma-XD_Theme/theme.php): failed to open stream: No such file or directory in /home/matrixw/public_html/header.php on line 49

Warning: head(): Failed opening 'themes/Plasma-XD_Theme/theme.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/matrixw/public_html/header.php on line 49

Fatal error: Call to undefined function: themeheader() in /home/matrixw/public_html/header.php on line 65


I have tried the fixtheme and that didn't work & my config file is fine

Any ideas ?



Back to top Reply with quote
#9   Re: re: Fatal error: Call to undefined function: db.php on l
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,440
   


Originally posted by Amras_Ancalimon @ Mon Nov 15, 2004 7:42 am:

I have similar errors...


Warning: head(themes/Plasma-XD_Theme/theme.php): failed to open stream: No such file or directory in /home/matrixw/public_html/header.php on line 49

Warning: head(): Failed opening 'themes/Plasma-XD_Theme/theme.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/matrixw/public_html/header.php on line 49

Fatal error: Call to undefined function: themeheader() in /home/matrixw/public_html/header.php on line 65


I have tried the fixtheme and that didn't work & my config file is fine

Any ideas ?


The file doesnt exist make sure it is the correct folder and all folders are spelled correctly upper case and lower case count.

Lonewolf367 attach the theme.php I will see whats going on.




_________________
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
Amras_Ancalimon
CZ Super Newbie
Amras_Ancalimon has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Call Centre Customer Advisor
Age: 53
Gender: Male
Status: Offline
Joined: Oct 17, 2004
0.01 posts per day
Posts: 63
Points: 3,249
   
Sorted, thanks Telli



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