Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 79
7 members and 72 guests
asrapxl, claudiamazzonif, isrmxaeltsy5meo, lnkmastes, scigo6catica3gz, tax7bcslkk7daaw, whasst3xniisabs
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
tattoo fonts
http://www.checkoutmyink.com/category/tattoo-fonts-tattoo

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
MYSQL phpnuke 6.0 error.
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 2
Join Date: Jun 2003
MYSQL phpnuke 6.0 error. - 07-01-2003, 04:38 PM

I keep getting these errors and i cannot figure out how too fix em,
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/ryan/public_html2/php/includes/sql_layer.php on line 253
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/ryan/public_html2/php/includes/sql_layer.php on line 301


If you would please help me thanks.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#2 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
07-01-2003, 08:40 PM

You might want to change your title so people know you have an sql error, you might get more help that way. Anyway....

Is this a new install, have you just added a new block or module etc? Did you just try to modify some existing code somewhere? Anything like that?

Where does the error show up? Header, footer, all over the page, only in certain pages etc.

Also can you turn debugging on? Change lines 252-255 in sql_layer.php from:
Code:
    case "MySQL": 
        $rows=mysql_num_rows($res); 
        return $rows; 
    break;;
to:
Code:
    case "MySQL": 
        if ($rows=mysql_num_rows($res)) { 
        return $rows; 
        } else { 
        print (mysql_error()); 
        } 
        break;;
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
ok
Old
  (#3 (permalink))
Junior Member
 
Status: Offline
Posts: 2
Join Date: Jun 2003
ok - 07-02-2003, 01:46 AM

It's not a new install, or modules or anything like that... i just posted something one day and got all these errors and its in my downloads, main and a few other sections.... heres what i get when i changed them, i had too change line 304 because the other one didnt do anything.

Warning: head(themes//theme.php) [function.head]: failed to create stream: No such file or directory in /home/ryan/public_html2/php/header.php on line 31

Warning: head() [function.head]: Failed opening 'themes//theme.php' for inclusion (include_path='') in /home/ryan/public_html2/php/header.php on line 31

Fatal error: Call to undefined function: themeheader() in /home/ryan/public_html2/php/header.php on line 47
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#4 (permalink))
Moderator
 
Status: Offline
Posts: 737
Join Date: Nov 2002
07-02-2003, 05:17 AM

What theme are you using? I doubt that it is a theme issue but it might be. You also might want to download a copy of your html file where you get the error, and check to see if there are any more errors that have been inserted in the html coding, sometimes that happens instead of the error being displayed.

Turning debugging on for the other lines didn't do anything? Hmmm... that is where it should be turned on for sql layers.

You are using 6.0 right? None of your blocks or anything else is for 6.5 or higher?

When you say that you posted something, you posted it where exactly?

Any chance you can either post a link or send it to me in PM so I can see the error and where it is displayed on the page please.
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
phpnuke SQL Error : 1064 Sparax Nuke 7.x - General 4 12-28-2006 04:07 PM
MySql Nuke Platnum Error 90thSFG Nuke 7.x - General 1 06-12-2005 05:32 PM
MYSQL Error From admin panel tones Nuke 7.x - General 1 11-22-2004 03:40 PM
PHPnuke Syntax Error Elite-Fusion Site design 0 06-04-2003 05:58 PM
mySQL guestbook module error Suezy Open topics 9 04-19-2003 01:25 PM




vBulletin Skin developed by: vBStyles.com


LinkBacks Enabled by vBSEO 3.3.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31