Endlich habe ich auch mit meinem bereits gut laufenden und mit diversen Modifikationen ausgestatteten Forum an das Update von 3.0. auf 3.1. gewagt. Das ist im Wesentlichen gut verlaufen, auch wenn ich es natürlich nicht geschafft habe, sämtliche Mods vor dem Update auszubauen. Einige habe ich als Extension auch schon wiedergefunden und eingebaut.
Aktuell erscheint allerdings im ACP immer noch mehrere Debug-Meldungen.
ZU dem "headers already sent" habe ich bei phpbb.com und in niederländischen sowie spanischen Foren schon ähnliche Meldungen und Lösungen gefunden, die z.T. von einem phpbb-Bug sprachen. Den KB-Artikelhabe ich auch umzusetzen versucht.Direkt übertragen konnte ich das auf mein Problem aber nicht, weil in der angemeckerten Zeile ja gar kein Code sondern nur eine Bemerkung steht. Auch in den Folgezeilen habe ich nichts ähnliches gefunden.


Danke!
Sepp
Zeile 118 bis 136 der includes functions_acp.php sehen so aus:[phpBB Debug] PHP Warning: in file [ROOT]/includes/acp/acp_main.php on line 481: filesize(): stat failed for ./../images/avatars/upload/php.ini
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 132: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3843)
Code: Alles auswählen
/**
* Execute code and/or overwrite _common_ template variables after they have been assigned.
*
* @event core.adm_page_header_after
* @var string page_title Page title
* @var array http_headers HTTP headers that should be set by phpbb
*
* @since 3.1.0-RC3
*/
$vars = array('page_title', 'http_headers');
extract($phpbb_dispatcher->trigger_event('core.adm_page_header_after', compact($vars)));
foreach ($http_headers as $hname => $hval)
{
header((string) $hname . ': ' . (string) $hval);
}
return;
}
Code: Alles auswählen
// Check the error reporting level and return if the error level does not match
// If DEBUG is defined the default level is E_ALL
if (($errno & ((defined('DEBUG')) ? E_ALL : error_reporting())) == 0)
{
return;
}
if (strpos($errfile, 'cache') === false && strpos($errfile, 'template.') === false)
{
$errfile = phpbb_filter_root_path($errfile);
$msg_text = phpbb_filter_root_path($msg_text);
$error_name = ($errno === E_WARNING) ? 'PHP Warning' : 'PHP Notice';
echo '<b>[phpBB Debug] ' . $error_name . '</b>: in file <b>' . $errfile . '</b> on line <b>' . $errline . '</b>: <b>' . $msg_text . '</b><br />' . "\n";
// we are writing an image - the user won't see the debug, so let's place it in the log
if (defined('IMAGE_OUTPUT') || defined('IN_CRON'))
{
add_log('critical', 'LOG_IMAGE_GENERATION_ERROR', $errfile, $errline, $msg_text);
}
// echo '<br /><br />BACKTRACE<br />' . get_backtrace() . '<br />' . "\n";
}
return;