Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 51
4 members and 47 guests
bea9qgchcomberc, peardir46, ral6qkeighqenpa, whyjjinternetvi
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
» .:.

Go Back   Nukemods Forum > NM Staff > Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
Top of the page error
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 29
Join Date: Dec 2002
Top of the page error - 01-15-2003, 11:06 PM

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
Old
  (#2 (permalink))
Junior Member
 
Status: Offline
Posts: 81
Join Date: Oct 2002
Location: Netherlands
01-16-2003, 06:43 AM

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
Old
  (#3 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
01-16-2003, 08:44 AM

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
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 29
Join Date: Dec 2002
01-16-2003, 10:32 AM

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
Old
  (#5 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
01-16-2003, 10:47 AM

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
Old
  (#6 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
01-16-2003, 10:54 AM

Quote:
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
Old
  (#7 (permalink))
Junior Member
 
Status: Offline
Posts: 29
Join Date: Dec 2002
01-16-2003, 11:33 AM

Quote:
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 08:58 PM
Login error page dietrying Nuke 7.x - General 0 09-22-2005 08:04 PM
Strange Graphics Error on Contents Page of Fission Theme mbegley Nuke 7.x - General 8 06-24-2005 02:35 PM
phpib2 - Error on IE6 Status Bar only at the Forum Page LoLoL Theme packs 0 10-15-2004 12:56 AM
Setoscale ERROR on main Page strato Purged Topics 2 05-24-2003 08:34 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