Fatal error:db.php on line 86

  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:db.php on line 86
bettyswolloks
CZ Super Newbie
bettyswolloks has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 09, 2004
0.01 posts per day
Posts: 68
Points: 7,034
   
Hey,me again icon_redface.gif

I get this error when i try to get into the forum admin area through the nuke/cz admin menu.

Fatal error: Cannot instantiate non-existent class: sql_db in /home/bettyf/public_html/db/db.php on line 86

This is how line 86 looks.

$db = new sql_db($dbhost, $dbuname, $dbpass, $dbname, false);

Any ideas guys icon_question.gif




_________________
Lost in a haze of alcohol soft middle age.
Back to top Reply with quote
#2   re: Fatal error:db.php on line 86
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,475
   
What mods have you added?




_________________
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:db.php on line 86
bettyswolloks
CZ Super Newbie
bettyswolloks has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 09, 2004
0.01 posts per day
Posts: 68
Points: 7,034
   
protector
fortress
X Guestbook




_________________
Lost in a haze of alcohol soft middle age.
Back to top Reply with quote
#4   re: Fatal error:db.php on line 86
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,475
   
That error means your not connecting to the database. Did you edit the Forums/config.php ? You also might to look at some posts about the fortress and [ Register or login to view links on this board. ] I think i saw something about this error there.




_________________
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
#5   re: Fatal error:db.php on line 86
bettyswolloks
CZ Super Newbie
bettyswolloks has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 09, 2004
0.01 posts per day
Posts: 68
Points: 7,034
   
Had no need to jump into forums/config,ill follow the link and let you know if i find anything.




_________________
Lost in a haze of alcohol soft middle age.
Back to top Reply with quote
#6   re: Fatal error:db.php on line 86
stealthusa
CZ Addict
stealthusa has been a member for over 20 year's 20 Year Member
usa.gif ohio.gif
Occupation: Self-Employed
Age: 58
Gender: Male
Fav. Sports Team: Cowboys
Website:
Status: Offline
Joined: Jan 23, 2004
0.05 posts per day
Posts: 353
Points: 14,459
 Yahoo Messenger  ICQ Number
go to your panel and make sure your mysql is still there most of the time you will have that message i just went to my site and got the same error and i went to my cpanel and my db is gone don't know how but it is gone now i don't know what to do. but here is some things that might help you out.

line 88 errors are ALWAYS problems connecting to the database

the troubleshooting process is as follows:
1. is mysql running?
2. is the user/password in config.php correct?
3. is the database name in config.php correct?
4. does the user in config.php have access to the database name in config.php?
5. is dbhost set to "localhost" or a valid mysql server with unrestricted access to port 3306?
6. are the $prefix and $user_prefix variables in config.php set to "nuke"?
7. is the $dbtype variable set to "MySQL"? -not mySQL, mysql, MYsql, MYSQL, my sql, or MySQL3.
8. if youve gotten this far and haven't fixed it repeat the whole process starting at step 1 again until it is fixed

and here are some fun words thrown in for the benefit of the 3 people on the planet that use the search function:

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




_________________
Back to top Reply with quote
#7   re: Fatal error:db.php on line 86
bettyswolloks
CZ Super Newbie
bettyswolloks has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 09, 2004
0.01 posts per day
Posts: 68
Points: 7,034
   
had a good look around and couldn't find anything to help icon_neutral.gif




_________________
Lost in a haze of alcohol soft middle age.
Back to top Reply with quote
#8   re: Fatal error:db.php on line 86
bettyswolloks
CZ Super Newbie
bettyswolloks has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 09, 2004
0.01 posts per day
Posts: 68
Points: 7,034
   
Found a fix in here icon_eek.gif forum error its called.Its down to the fact that the config file was moved.I put it back and all's well again icon_biggrin.gif Thing is though it was one of the security fix's that prompted me to move it outside the root folder.

Any ideas wot ive done wrong?




_________________
Lost in a haze of alcohol soft middle age.
Back to top Reply with quote
#9   re: Fatal error:db.php on line 86
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
I see you found my fix...LMAO. I did the same thing here, what version of Nuke you running? I had completely forgot that I moved mine until I tried to get into my forums admin.



Back to top Reply with quote
#10   re: Fatal error:db.php on line 86
bettyswolloks
CZ Super Newbie
bettyswolloks has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Mar 09, 2004
0.01 posts per day
Posts: 68
Points: 7,034
   
icon_biggrin.gif

im running cz-enhanced which i believe is 7.0 modded.

Its been doing my head in mate,ive been getting hacked everyday for a week now so ive tried (almost) every fix i can find,i knew one was messing with the other but i couldn't work out which icon_smile.gif then i saw your post icon_biggrin.gif icon_razz.gif i said a big loud DOH!!!!! when i read it lol!!

Cheers for the edit mate winkss.gif




_________________
Lost in a haze of alcohol soft middle age.
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