NUKE SQL problem?

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   NUKE SQL problem?
Lalo
CZ Newbie
Lalo has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 07, 2004
0.00 posts per day
Posts: 10
Points: 524
   
I began by having problems with the way nuke.sql set up my nuke_author table now I am getting this


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/genericoindustrial.com/httpdocs/includes/sql_layer.php on line 286:


What you suggested last time (cut and paste the sript related to nuke_author table) might work again on this one, but, would this mean there is smething wrong with the nuke.sql file?
I did re.install the whole thing with phpmyadmin calling nuke.sql but it did not solve things.



Back to top Reply with quote
#2   re: NUKE SQL problem?
Taut
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif california.gif
Occupation: Entrepreneur
Gender: Female
Fav. Sports Team: SF Giants
Status: Offline
Joined: May 27, 2003
0.70 posts per day
Posts: 5530
Points: 481,695
   
these directions will not solve what conflicts you have but it will give a more detailed error message so we can see exactly what is going on with your files.

In oyur sql_layer.php file, open and edit it...right around line286..look for something like this

case "MySQL":
        $row = mysql_fetch_row($res);
        return $row;
    break;;


change that to:

case "MySQL":
   if ($row = mysql_fetch_row($res)) {
      return $row;
   } else {
      print (mysql_error());
   }
    break;;


then repost back here as to what new error message it is giving you


taut


Back to top Reply with quote
#3   re: NUKE SQL problem?
Lalo
CZ Newbie
Lalo has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 07, 2004
0.00 posts per day
Posts: 10
Points: 524
   
New error


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/httpd/vhosts/domain.com/httpdocs/includes/sql_layer.php on line 287
Table 'angol.nuke_faqCategories' doesn't exist

Now, it does exist only thta is all in lower case as all the other ones... Should I delete it and create "nuke_faqCategories" instead?

Also:
There are two identical strings at sql_layer.php at around the same line, as per your quotes, they are:



case "mSQL":
$row = msql_fetch_row($res);
return $row;
break;;
Is this normal?



Back to top Reply with quote
#4   re: NUKE SQL problem?
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
   
Where did you get this nuke.sql? And yes if it says the table doesnt exist then please make it.




_________________
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: NUKE SQL problem?
Lalo
CZ Newbie
Lalo has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 07, 2004
0.00 posts per day
Posts: 10
Points: 524
   


Now, it does exist only thta is all in lower case as all the other ones... Should I delete it and create "nuke_faqCategories" instead?

Got it from
[ Register or login to view links on this board.]
Looked fishy only because it was in Spanish, it is 7.0 Is this the right place fpr the latest file?



Back to top Reply with quote
#6   re: NUKE SQL problem?
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
   
Yes it is there is also a version of 7.0 in the downloads here
[ Register or login to view links on this board. ]

You can try that one it has all the major fixes and new sql vulnerabilitys fixed up.




_________________
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
#7   re: NUKE SQL problem?
Lalo
CZ Newbie
Lalo has been a member for over 20 year's 20 Year Member
Status: Offline
Joined: Feb 07, 2004
0.00 posts per day
Posts: 10
Points: 524
   
.....What brings me to the next inevitable question, and please be gentle with the answer. How do I replace the old files with the new ones, or do I have to remove (uninstall) all the stuff first? icon_redface.gif
And yes
1.- The problem was solved when I created the file with "C" in uppercase.
2.- The new file also has the sql file with supporting text in spanish!!
Thank you for your help, I hope this is my last question.



Back to top Reply with quote
#8   re: NUKE SQL problem?
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
   
Just override the old ones.




_________________
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
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