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, 64 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 - Warning: mysql_fetch_row(): [ ]
 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
grizwald
Nuke Soldier
Nuke Soldier


Joined: Jan 14, 2003
Posts: 23

Location: West Virginia

PostPosted: Sat Mar 08, 2003 8:49 am Reply with quoteBack to top

nuke 6.0 + toms port

getting this error in topics admin .. and it seems to also cause the new topics not to be displayed ....

sql_layer.php set to debug:

Code:
Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /home/hsphere/local/home/wwiio0/teamspeak.wwiiol.net/includes/sql_layer.php on line 360
Unknown column 'displayorder' in 'field list'


sql_layer.php lines 354 - 365

Code:

function sql_fetch_array(&$res, $nr=0)
{
global $dbtype;
switch ($dbtype)
    {
    case "MySQL":
      if ($row = mysql_fetch_row($res)) {
      return $row;
   } else {
      print (mysql_error());
   }
   break;;


thanks .. griz
Find all posts by grizwaldView user's profileSend private messageVisit poster's website
ravernews
Premium
Premium


Joined: Jan 26, 2003
Posts: 230

Location: USA

PostPosted: Sat Mar 08, 2003 4:44 pm Reply with quoteBack to top

Code:
function sql_fetch_array(&$res, $nr=0)
{
global $dbtype;
switch ($dbtype)
    {
    case "MySQL":
        $row = array();
        $row = mysql_fetch_array($res);
        return $row;
    break;;

I think that is how its to look. But dont qoute me.

_________________
I am new at this, give me time.


PHPNUKE = Less Code
NukeCops = More power
PhpNuke + NukeCops = "less code more power"
Find all posts by ravernewsView user's profileSend private messageVisit poster's websiteAIM AddressYahoo Messenger
ipek
Nuke Cadet
Nuke Cadet


Joined: Apr 30, 2003
Posts: 7


PostPosted: Wed Apr 30, 2003 1:01 pm Reply with quoteBack to top

i'm getting the same warning, but by all page's, but i have the right code i think:
Quote:
global $dbtype;
switch ($dbtype)
{
case "MySQL":
$row = array();
$row = mysql_fetch_array($res);
return $row;
break;;

any idea Sad Question
thanx
Find all posts by ipekView user's profileSend private messageVisit poster's website
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
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.215 Seconds - 287 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::