habe da mal ein Problem

Problem
- Code: Alles auswählen
Warning: Invalid argument supplied for foreach() in C:\Programme\xampp\htdocs\scrubsboard\includes\functions_post.php on line 251
Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\xampp\htdocs\scrubsboard\includes\functions_post.php:251) in C:\Programme\xampp\htdocs\scrubsboard\includes\page_header.php on line 1035
Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\xampp\htdocs\scrubsboard\includes\functions_post.php:251) in C:\Programme\xampp\htdocs\scrubsboard\includes\page_header.php on line 1037
Warning: Cannot modify header information - headers already sent by (output started at C:\Programme\xampp\htdocs\scrubsboard\includes\functions_post.php:251) in C:\Programme\xampp\htdocs\scrubsboard\includes\page_header.php on line 1038
functions_post.php:247-255
- Code: Alles auswählen
if ($mode == 'editpost' && !$was_a_draft)
{
remove_search_post($post_id);
foreach (glob($phpbb_root_path.'cache/posts/*post_'.$post_id.'.gz') as $cachefile)
{
@unlink($cachefile);
}
}
page_header.php:1027-1039
- Code: Alles auswählen
if (!defined('AJAX_HEADERS'))
{
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');
}
Kann es mögleich sein das ich da was verbockt habe? Die Fehlermeldung kommt nur beim 1 Beitrag den man hinzufügt danach kommt die Meldung nicht mehr ..., wenn die Meldung einmal kommt sollte sie auch beim 2 mal wieder kommen oder nicht?
Ich g´hoffe das ich niht gerade im Wald stehe.