Das Problem ist nämlich, dass ich nicht weiß, was "er" von mir erwartet.
Der Fehlercode:
Code: Alles auswählen
Warning: mysql_fetch_array(): 25 is not a valid MySQL result resource in /usr/local/httpd/htdocs/2561/2602/forum/db/mysql4.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/httpd/htdocs/2561/2602/forum/db/mysql4.php:214) in /usr/local/httpd/htdocs/2561/2602/forum/includes/page_header.php on line 508
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/httpd/htdocs/2561/2602/forum/db/mysql4.php:214) in /usr/local/httpd/htdocs/2561/2602/forum/includes/page_header.php on line 514
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/httpd/htdocs/2561/2602/forum/db/mysql4.php:214) in /usr/local/httpd/htdocs/2561/2602/forum/includes/page_header.php on line 515Die betreffenden Zeilen in der page_header.php sehen wie folgt aus:
Code: Alles auswählen
// Work around for "current" Apache 2 + PHP module which seems to not
// cope with private cache control setting
if (!empty($HTTP_SERVER_VARS['SERVER_SOFTWARE']) && strstr($HTTP_SERVER_VARS['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');
$template->pparse('overall_header');
?>
Da ich mit .php nicht so bewandert bin, wäre es nett, wenn mir jemand erklären könnte, wie ich die Fehlermeldung herausbekomme.