You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 156 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - "mysql_fetch_array" errors [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
stoneyslounge
Nuke Cadet
Nuke Cadet


Joined: Mar 03, 2004
Posts: 6


PostPosted: Wed Oct 05, 2005 10:31 pm Reply with quoteBack to top

This is a complete nightmare and the host won't help.

The website is www.stoneyslounge.com if anyone can take a look.

The top error is...
    Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/stoneysl/public_html/includes/sql_layer.php on line 345

These type of errors are everywhere. Can anyone please help? It's version 7.6
Find all posts by stoneysloungeView user's profileSend private message
Xyberian
Colonel
Colonel


Joined: Mar 14, 2004
Posts: 1939

Location: Behind you

PostPosted: Thu Oct 06, 2005 6:54 am Reply with quoteBack to top

You are supposed to find and replace mysql_ dependent queires to $db->mysql_ class object call. Some of PHP-Nukes with new patches do not allow such mysql dependent queries. In that case change the followings:

global $dbi ---> global $db

mysql_query( ........ , $dbi); ---> $db->sql_query ( ........ );

mysql_fetch_row ( .... , $dbi); ---> $db->sql_fetchrow( .... );

mysql_num_rows ( ....., $dbi); ----> $db->sql_numrows (...... );

mysql_fetch_assoc ( ....., $dbi); ---> $db->sql_getrow( ...... );

_________________
Home of the Enterprise PHP-NUKE
Find all posts by XyberianView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Thu Oct 06, 2005 9:53 am Reply with quoteBack to top

That is a generic error, meaning something is wrong when accessing your tables.

You need to figure out exactly where the problem occurs. Start by disabling all addons, modules, blocks, etc. Change themes too. If you can pinpoint the problem, it will give you a direction for a solution

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.691 Seconds - 126 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::