Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 51
2 members and 49 guests
buynm6ymobcha8b, cliaw9cckhereto
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
New problem...
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 14
Join Date: Dec 2002
New problem... - 12-07-2002, 07:33 PM

I have another problem here...I've tried to figure this one out myself..but...ok here goes...

I have phpNuke 6 installed..and it works fine alone...when i apply the 2.0.6. Port Beta1 files, i get this error...eventually..usually in both admin sections of the site...(admin account and user account)

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/noaslcom/public_html/community/includes/sql_layer.php on line 301

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/noaslcom/public_html/community/includes/sql_layer.php on line 301

you can take a look first hand here if you like

http://noaslcommunity.com/community/index.php

has anyone seen this kind of error in the past?

Thanks, 2112
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
ummm
Old
  (#2 (permalink))
Junior Member
 
Status: Offline
Posts: 14
Join Date: Dec 2002
ummm - 12-07-2002, 07:34 PM

just remembered, you'll probably have to create an account to see the error, since it only usually shows up after one logs in..

   
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
12-07-2002, 07:39 PM

Ok I had the same EXACT problem once before...This is my solution. Taken from another post on the same subject I posted over at mbdc.net

It was my nuke_banners table.

I looked at the .sql file that came with Nuke 6.0 and I was comparing it to my SQL tables that I have in MySQL database.

Anyway to make a long story short. My nuke_banners table only had like 9 rows when it should have been 12 or so. I dropped my nuke_banners table and then cut the nuke_banners information from the nuke.sql file and pasted it in notepad. saved it as banners.sql and uploaded it to MySQL with phpadmin.

VIOLA. I have NO MORE SQL ERRORS!!!

WOO-HOO.

If anyone needs to repeat this process and can't figure it out, lemme know. Your error or errors may not be associated to the same table mine was. Check through your MySQL tables and compare them one at a time to another 6.0 site with 2.0.6 port SQL Database, or to the nuke.sql file.

Here's what you need to make a new nuke_banners table. Just copy and paste this in notepad and save as banners.sql. You can then upload it through phpmyadmin after you Drop your exisiting nuke_banners table. This will erase all your banner data if you use banners. But worth getting rid of the SQL errors in my opinion.

Code:
#
# Table structure for table `nuke_banner`
#

CREATE TABLE nuke_banner (
  bid int(11) NOT NULL auto_increment,
  cid int(11) NOT NULL default '0',
  imptotal int(11) NOT NULL default '0',
  impmade int(11) NOT NULL default '0',
  clicks int(11) NOT NULL default '0',
  imageurl varchar(100) NOT NULL default '',
  clickurl varchar(200) NOT NULL default '',
  alttext varchar(255) NOT NULL default '',
  date datetime default NULL,
  dateend datetime default NULL,
  type tinyint(1) NOT NULL default '0',
  active tinyint(1) NOT NULL default '1',
  PRIMARY KEY  (bid),
  KEY bid (bid),
  KEY cid (cid)
) TYPE=MyISAM;

#
# Dumping data for table `nuke_banner`
#
mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Working on it...
Old
  (#4 (permalink))
Junior Member
 
Status: Offline
Posts: 14
Join Date: Dec 2002
Working on it... - 12-08-2002, 07:48 PM

thanks for the suggestion Mike...I'm going to give that a shot..if that doesnt work i have a trial/error checklist I'm gonna go through....if THAT doesnt help...i dunno... heheh i'll let you know what happens....

Thanks, 2112
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Give up..
Old
  (#5 (permalink))
Junior Member
 
Status: Offline
Posts: 14
Join Date: Dec 2002
Give up.. - 12-08-2002, 11:17 PM

well i've tried everything i can think of..phpNuke is fine until i delete the modules/Forum directory, and upload the phpbb2nuke port..if anyone wants to see whats going on , go to
http://www.noaslcommunity.com/community/

use the login/pw Mike/mike

maybe tomorrow i'll try installing it on another server..see what happens

2112
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Found the problem
Old
  (#6 (permalink))
Junior Member
 
Status: Offline
Posts: 14
Join Date: Dec 2002
Found the problem - 12-08-2002, 11:47 PM

wouldnt you know it...just as i was going to give up...i decided to selectively deactivate one block after another until i found that a block was causing the error....the Who's On block.....I deactivated it and I no longer get the sql_layer.php error....

this couldnt be a CHMOD prob could it?

----Mike
   
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
Poll/Survey problem! (restriced area?) EDIT: new problem! erazor Nuke 7.x - General 3 04-12-2005 11:27 AM
Problem with smartDark problem. Sign up doesn't work. DJ-Loki Theme packs 4 02-18-2003 03:40 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