» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 75
0 members and 75 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 Strange error in the bottom of the site. within the Purged Topics forums, part of the NM Staff category; Hi, I have a strange error at the very bottom of my site. Code: Warning: mysql_fetch_row(): ...


Go Back   Nukemods Forum » NM Staff » Purged Topics

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-13-2003, 05:14 PM
Junior Member
 
Join Date: Feb 2003
Location: The Netherlands
Posts: 56
Strange error in the bottom of the site.
Hi,

I have a strange error at the very bottom of my site.
Code:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/www/vhosts/dj-loki.com/httpdocs/includes/sql_layer.php on line 301
I only saw it today, but maybe it was already there for weeks! What could it be? It only occurs at the begin page. Strange!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 03-13-2003, 07:09 PM
Senior Member
 
Join Date: Oct 2002
Location: Alabama, USA
Posts: 619
That error is usually caused by a mysql table missing from the database. Have you recently made changes and added anything to the site?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 03-13-2003, 10:24 PM
Moderator
 
Join Date: Jan 2003
Posts: 338
To get a more descriptive error message, you can edit the "case" lines in the sql_layer.php.
For example, this is the "case" that starts at line 300 in the nuke 6.0 sql_layer.php

change:
Code:
case "MySQL":
$row = mysql_fetch_row($res);
return $row;
break;;
to:
Code:
case "MySQL": 
if ($row = mysql_fetch_row($res)) { 
return $row; 
} else { 
print (mysql_error()); 
} 
break;;
You will still get the errors but they should now have extra info, like table nuke_somename does not exist, this will make it easier to track down the problem.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 03-14-2003, 05:01 AM
Junior Member
 
Join Date: Feb 2003
Location: The Netherlands
Posts: 56
Hmm, ok i will try that. And yes i have made some changes. I have upgraded MS-Analysis fom RC2 to RC3 and i have made some changes to the theme.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 03-14-2003, 05:09 AM
Junior Member
 
Join Date: Feb 2003
Location: The Netherlands
Posts: 56
Ok done it! This is what i get:

Code:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /var/www/vhosts/dj-loki.com/httpdocs/includes/sql_layer.php on line 301
Table 'forum._users' doesn't exist
Table "forum_users" doesn't exist!!!??? 8O :?: 8O
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 03-14-2003, 03:51 PM
Junior Member
 
Join Date: Feb 2003
Location: The Netherlands
Posts: 56
Is there anyboy who can help me??
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 03-14-2003, 04:08 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Do all your tables in your MySQL database start with forum_ ?
Ususally on a nuke install, the tables are prefixed with nuke_
nuke_users
not
forum_users, unless you changed that for the install, which is ok.
However, some script you have running is looking for the forum_users table it appears... :?

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 03-14-2003, 04:12 PM
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
Hey can you give us a link to your site?

mikem
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 03-14-2003, 04:15 PM
Junior Member
 
Join Date: Feb 2003
Location: The Netherlands
Posts: 56
No, all my nuke tables start with nuke_. I was thinking: i have removed the last footer line. It said theme smartDark by (you) Mikem. I had changed the theme drastic so..... ops: But could that be the problem?

http://www.dj-loki.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 03-14-2003, 04:19 PM
Junior Member
 
Join Date: Feb 2003
Location: The Netherlands
Posts: 56
But my database name is forum.
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
Strange Graphics Error on Contents Page of Fission Theme mbegley Nuke 7.x - General 8 06-24-2005 03:35 PM
Green Moderator color bottom of Forum Index page Lateron Theme packs 16 08-30-2004 01:51 PM
Question bottom scroll bar on Pack-fiblue3d-6.5? empty_clips Nuke 6.5 to 6.9 - Themes 0 05-01-2003 03:51 AM
Changing bookmark link at the bottom of my forums Rhino Purged Topics 2 03-03-2003 01:57 PM
Shoutbox bottom scrollbar fixed Martin Purged Topics 2 01-04-2003 12:36 AM


All times are GMT -5. The time now is 10:24 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