» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 70
0 members and 70 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on Top of the page error within the Purged Topics forums, part of the NM Staff category; I backed up one of my sites that is working perfectly and added it to a friends site, there I ...


Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-16-2003, 12:06 AM
Junior Member
 
Join Date: Dec 2002
Posts: 29
Top of the page error
I backed up one of my sites that is working perfectly and added it to a friends site, there I am getting an error... http://soloopscom.powweb.com/index.php



Quote:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /www/s/soloops/htdocs/includes/sql_layer.php on line 357

Any solutions???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2003, 07:43 AM
Junior Member
 
Join Date: Oct 2002
Location: Netherlands
Posts: 81
I suggest you run the site in the debug mode (html/includes/sql_layer.php and search for
Code:
$sql_debug = 0;
and change 0 to 1 and reupload it to the site),this mode will show you which sql entries are made and where the errors are.

Hopes this helps you out.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2003, 09:44 AM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Make sure you check all the path settings in any pertinent files, Admin preferences etc.

To set Debug mode to get an even better Idea of what is going on, do this:

sql_layer.php Debug

Open sql_layer.php go to line 300 and change:

Code:
case "MySQL": 
$row = mysql_fetch_row($res); 
return $row; 
break;;
To the following:

Code:
case "MySQL": 
if ($row = mysql_fetch_row($res)) { 
return $row; 
} else { 
print (mysql_error()); 
} 
break;;
This will just give a description of the error instead of showing ALL the sql queries and error.

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2003, 11:32 AM
Junior Member
 
Join Date: Dec 2002
Posts: 29
I fixed it, Duh, I still had the Who is Where from my site in the myheader.php and had not loaded the sql for that on this site. Thanks for your help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-16-2003, 11:47 AM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
That's what I meant when I said (in yesterdays PM) I suspected something was missing from the DB, it's what that error usually means (in my experiences). But there was no way for me to know exactly what was missing.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-16-2003, 11:54 AM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Originally Posted by Martin
That's what I meant when I said (in yesterdays PM) I suspected something was missing from the DB, it's what that error usually means (in my experiences). But there was no way for me to know exactly what was missing.
Agreed, the very first thing to actually check when moving a site is did I have any MODS installed that may not work after the move or whatever...glad you got it fixed...

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-16-2003, 12:33 PM
Junior Member
 
Join Date: Dec 2002
Posts: 29
Originally Posted by Martin
That's what I meant when I said (in yesterdays PM) I suspected something was missing from the DB, it's what that error usually means (in my experiences). But there was no way for me to know exactly what was missing.

Yes I started thinking after you said that what it could be. I was guessing since it's at the top of the page that it must have something to do with the header. Then it hit me, But I have learned a lot from all of you with this LOL so something good has came of it! Thanks for all the tips. 8)
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
DNS Error - page not found while accessing my site DUSTY Nuke 7.x - General 0 11-11-2005 09:58 PM
Login error page dietrying Nuke 7.x - General 0 09-22-2005 09:04 PM
Strange Graphics Error on Contents Page of Fission Theme mbegley Nuke 7.x - General 8 06-24-2005 03:35 PM
phpib2 - Error on IE6 Status Bar only at the Forum Page LoLoL Theme packs 0 10-15-2004 01:56 AM
Setoscale ERROR on main Page strato Purged Topics 2 05-24-2003 09:34 PM


All times are GMT -5. The time now is 08:22 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.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