Nukemods Forum  
» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 53
4 members and 49 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
Unprovoked Error
Old
  (#1 (permalink))
Junior Member
 
Status: Offline
Posts: 43
Join Date: Jan 2003
Unprovoked Error - 04-06-2003, 10:49 PM

I am kind of freaked right now because while I was doing other things today someone from my forums www.solo-ops.com emailed me and said there was an error appearing on my pages. I had just been on my site 30 min prior and there was nothing wrong then.

But sure enough there was the error :

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/solo-ops/public_html/includes/sql_layer.php on line 357

The very strange part is that usually when an error appears it happens when I am DOING something on the forums and I mess it up. Then I can usually kind of have an idea what files I messed up and HOW. I have not done anything. Which is why I am REALLY confsed about how to fix it... anyone recocnize this?

Thanks,

Hilary
   
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: 43
Join Date: Jan 2003
04-07-2003, 03:19 PM

I just got done talking with all the people who have access to my forums and they are all telling me that they did not do anything that caused the error... can't somebody help me?
   
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
04-07-2003, 03:23 PM

First thing you need to do Hilary is turn on Nuke debugging.
Or if it is only showing in your Forums, turn on Forum debugging.
To learn how to turn on debugging, refer to this post at nukecops.
http://nukecops.com/postt1.html

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: 43
Join Date: Jan 2003
04-07-2003, 03:55 PM

Ok, I turned on the debugging and this is the message that I got...

SQL query: SELECT sitename, nukeurl, site_logo, slogan, startdate, adminmail, anonpost, Default_Theme, foot1, foot2, foot3, commentlimit, anonymous, minpass, pollcomm, articlecomm, broadcast_msg, my_headlines, top, storyhome, user_news, oldnum, ultramode, banners, backend_title, backend_language, language, locale, multilingual, useflags, notify, notify_email, notify_subject, notify_message, notify_from, footermsgtxt, email_send, attachmentdir, attachments, attachments_view, download_dir, defaultpopserver, singleaccount, singleaccountname, numaccounts, imgpath, filter_forward, moderate, admingraphic, httpref, httprefmax, CensorMode, CensorReplace, copyright, Version_Num from nuke_config
SQL query: select active, view from nuke_modules where title='Your_Account'
SQL query: select pass from nuke_users where uid='4'
SQL query: select pass from nuke_users where uid='4'
SQL query: select pass from nuke_users where uname='Hilary'
SQL query: DELETE FROM nuke_session WHERE time < 1049746760
SQL query: SELECT time FROM nuke_session WHERE username='Hilary'
SQL query: UPDATE nuke_session SET username='Hilary', time='1049748560', host_addr='204.32.193.228', guest='' WHERE username='Hilary'
SQL query: select pass from nuke_users where uid='4'
SQL query: select pass from nuke_users where uname='Hilary'
SQL query: DELETE FROM nuke_whoiswhere WHERE time < 1049747660
SQL query: SELECT time FROM nuke_whoiswhere WHERE username='Hilary'
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/solo-ops/public_html/includes/sql_layer.php on line 357
SQL query: INSERT INTO nuke_whoiswhere (username, time, host_addr, guest, module, url) VALUES ('Hilary', '1049748560', '204.32.193.228', '', 'Your_Account', '/modules.php?name=Your_Account')
   
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: 2,905
Join Date: Sep 2002
04-07-2003, 04:02 PM

That part
Quote:
SQL query: INSERT INTO nuke_whoiswhere (username, time, host_addr, guest, module, url) VALUES ('Hilary', '1049748560', '204.32.193.228', '', 'Your_Account', '/modules.php?name=Your_Account')
You are using a Who is where hack or mod or block? Try disabling it and see if the error dissapears.

mikem
   
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: 43
Join Date: Jan 2003
04-07-2003, 04:08 PM

I do have a block like that, but when I went to look at it, it is already disabled and I have never used it... When I select "show" I get more of this:

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/solo-ops/public_html/includes/sql_layer.php on line 253

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/solo-ops/public_html/includes/sql_layer.php on line 357

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/solo-ops/public_html/includes/sql_layer.php on line 253

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/solo-ops/public_html/includes/sql_layer.php on line 357
   
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
04-07-2003, 04:19 PM

Well, you may not have used that block, but I think it requires an install of a line to query the user info from the nuke_whoiswhere table.
More than likely you had to have added a line to a file in your Nuke for that Who is where hack. Mybe in your theme.php or header.php or footer.php.

I would open those files and do a search for whoiswhere

You can disable debugging now so your users don't have to see all that "other" crud.

mikem
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#8 (permalink))
Junior Member
 
Status: Offline
Posts: 43
Join Date: Jan 2003
04-07-2003, 04:38 PM

Will it work the same if I just delete the hack? lol.

I don't understand how that happened, I have had the forums up for a couple months and it has never been a problem before.... how does it just appear?

Hilary
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old
  (#9 (permalink))
Senior Member
 
Status: Offline
Posts: 2,905
Join Date: Sep 2002
04-07-2003, 04:45 PM

I'm not sure. The only reason I could give you is that if the nuke_whoiswhere table no longer exists in your Database.
I don't know why the message just all of a sudden started showing...
Yes delete the hack and more than likely that error will dissappear.

mikem
   
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: 43
Join Date: Jan 2003
04-07-2003, 04:51 PM

Thanks so much, Mike, your awesome!

Hilary
   
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
Error SQL Error : 1064 theme iCGstation XelAleX Nuke 7.x - Themes 0 03-21-2005 05:17 PM
error: phpBB critical error elb0m Purged Topics 15 01-24-2003 02:41 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