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
ravernews Premium
Joined: Jan 26, 2003
Posts: 230
Location: USA
Posted:
Sat Mar 08, 2003 4:44 pm
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"
ipek Nuke Cadet
Joined: Apr 30, 2003
Posts: 7
Posted:
Wed Apr 30, 2003 1:01 pm
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;;
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