Diese Fehlermeldung gibt er aber nur im Debugmodus aus, den ich bis eben aktiv hatte.
Den Fehler, dass manchmal dort steht
habe ich schon bemerkt,Beantwortet Thema "" in ForumX
aber erst durch den Debugmodus erscheint dabei auch eine Fehlermeldung, dadurch wurde mir erst klar,
dass es ein richtiger Fehler ist.
Der Fehler, der ausgegeben wird, ist dieser:
[phpBB Debug] PHP Notice: in file [ROOT]/viewonline.php on line 366: Undefined offset: 1
[phpBB Debug] PHP Notice: in file [ROOT]/viewonline.php on line 366: Undefined index:
[phpBB Debug] PHP Notice: in file [ROOT]/viewonline.php on line 366: Undefined index:
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4820: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3848)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4822: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3848)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4823: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3848)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4824: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3848)
Hier der Screenshot dazu: http://img5.fotos-hochladen.net/uploads ... jao3r7.png
Die Zeile 366 in der viewonline.php ist diese:
- Code: Select all
$location = sprintf($user->lang['REPLYING_MESSAGE_TOPIC'], $forum_data[$forum_id]['forum_name'], $topic_titles[$topic_post_ids[$on_page[1]]]);
und gehört zu dem Codeblock der Topic in who is online:
- Code: Select all
// BEGIN: Topic in "Who is online"
if ($auth->acl_get('a_')){
preg_match('#t=([0-9]+)#', $row['session_page'], $on_page);
preg_match('#p=([0-9]+)#', $row['session_page'], $on_page_p);
if (sizeof($on_page) && isset($topic_titles[$on_page[1]]))
{
$location = sprintf($user->lang['REPLYING_MESSAGE_TOPIC'], $forum_data[$forum_id]['forum_name'], $topic_titles[$on_page[1]]);
$location_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $forum_id . '&t=' . $on_page[1]);
}
else if (sizeof($on_page_p) && isset($topic_post_ids[$on_page_p[1]]))
{
$location = sprintf($user->lang['REPLYING_MESSAGE_TOPIC'], $forum_data[$forum_id]['forum_name'], $topic_titles[$topic_post_ids[$on_page[1]]]);
$location_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $forum_id . '&p=' . $on_page_p[1]);
}
else
{
$location = sprintf($user->lang['REPLYING_MESSAGE'], $forum_data[$forum_id]['forum_name']);
}
}
else{
$location = sprintf($user->lang['REPLYING_MESSAGE'], $forum_data[$forum_id]['forum_name']);
}
// END: Topic in "Who is online"