Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 57
0 members and 57 guests
No Members online
Most users ever online was 611, 03-21-2008 at 10:10 PM.
» .::.
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 Electric Choice

Go Back   Nukemods Forum > NM Staff > Purged Topics

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

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
Old
  (#2 (permalink))
Senior Member
 
Status: Offline
Posts: 619
Join Date: Oct 2002
Location: Alabama, USA
03-13-2003, 06:09 PM

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
Old
  (#3 (permalink))
Moderator
 
Status: Offline
Posts: 338
Join Date: Jan 2003
03-13-2003, 09:24 PM

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
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 56
Join Date: Feb 2003
Location: The Netherlands
03-14-2003, 04:01 AM

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
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 56
Join Date: Feb 2003
Location: The Netherlands
03-14-2003, 04:09 AM

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
Old
  (#6 (permalink))
Junior Member
 
Status: Offline
Posts: 56
Join Date: Feb 2003
Location: The Netherlands
03-14-2003, 02:51 PM

Is there anyboy who can help me??
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#7 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
03-14-2003, 03:08 PM

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
Old
  (#8 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
03-14-2003, 03:12 PM

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
Old
  (#9 (permalink))
Junior Member
 
Status: Offline
Posts: 56
Join Date: Feb 2003
Location: The Netherlands
03-14-2003, 03:15 PM

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
Old
  (#10 (permalink))
Junior Member
 
Status: Offline
Posts: 56
Join Date: Feb 2003
Location: The Netherlands
03-14-2003, 03:19 PM

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 02:35 PM
Green Moderator color bottom of Forum Index page Lateron Theme packs 16 08-30-2004 12:51 PM
Question bottom scroll bar on Pack-fiblue3d-6.5? empty_clips Nuke 6.5 to 6.9 - Themes 0 05-01-2003 02:51 AM
Changing bookmark link at the bottom of my forums Rhino Purged Topics 2 03-03-2003 12:57 PM
Shoutbox bottom scrollbar fixed Martin Purged Topics 2 01-03-2003 11:36 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