Fehler nach Update von 2.0.6 auf 2.0.11
Verfasst: 21.12.2004 00:48
Folgender Fehler tritt nach dem Update auf:
In den angegebenen Zeilen steht folgendes:
mysql4.php
page_header.php
Wer sich anschauen möchte wie genau das aussieht (es werden nichtmehr alle Foren angezeigt, aber nur bei der index.php, der Rest funzt wohl) sollte mal hier vorbeischauen! Hat wer eine Idee?
MfG
Maestro
Code: Alles auswählen
Warning: mysql_fetch_array(): 23 is not a valid MySQL result resource in /usr/local/pem/vhosts/4715/webspace/httpdocs/forum/db/mysql4.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/pem/vhosts/4715/webspace/httpdocs/forum/db/mysql4.php:214) in /usr/local/pem/vhosts/4715/webspace/httpdocs/forum/includes/page_header.php on line 529
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/pem/vhosts/4715/webspace/httpdocs/forum/db/mysql4.php:214) in /usr/local/pem/vhosts/4715/webspace/httpdocs/forum/includes/page_header.php on line 531
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/pem/vhosts/4715/webspace/httpdocs/forum/db/mysql4.php:214) in /usr/local/pem/vhosts/4715/webspace/httpdocs/forum/includes/page_header.php on line 532
mysql4.php
Code: Alles auswählen
function sql_fetchrow($query_id = 0)
{
if( !$query_id )
{
$query_id = $this->query_result;
}
if( $query_id )
{
$this->row[$query_id] = mysql_fetch_array($query_id, MYSQL_ASSOC);
return $this->row[$query_id];
}
else
{
return false;
}
}
Code: Alles auswählen
// Work around for "current" Apache 2 + PHP module which seems to not
// cope with private cache control setting
if (!empty($_SERVER['SERVER_SOFTWARE']) && strstr($_SERVER['SERVER_SOFTWARE'], 'Apache/2'))
{
header ('Cache-Control: no-cache, pre-check=0, post-check=0');
}
else
{
header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
}
header ('Expires: 0');
header ('Pragma: no-cache');
MfG
Maestro