[Erledigt] Call to undefined function phpbb_get_banned_use
Verfasst: 11.08.2012 10:47
Hallo ich bekomme bei mir beim Thema/Beitrag erstellen auf einmal:
Die Zeile die angemekert wird sieht so aus:
Zehn Zeilen davor:
ca Zehn Zeilen danach:
Es ist ein Orginal eintrag in der Datei,warum mekert er da,was ist Falsch?
Code: Alles auswählen
Fatal error: Call to undefined function phpbb_get_banned_user_ids() in /var/www/web0/html/includes/functions_posting.php on line 1210
Code: Alles auswählen
$sql_ignore_users = phpbb_get_banned_user_ids();
Code: Alles auswählen
if (($topic_notification && !$config['allow_topic_notify']) || ($forum_notification && !$config['allow_forum_notify']))
{
return;
}
$topic_title = ($topic_notification) ? $topic_title : $subject;
$topic_title = censor_text($topic_title);
// Exclude guests, current user and banned users from notifications
if (!function_exists('phpbb_get_banned_user_ids'))
{
include($phpbb_root_path . 'includes/functions_user.' . $phpEx);
}
Code: Alles auswählen
$sql_ignore_users[ANONYMOUS] = ANONYMOUS;
$sql_ignore_users[$user->data['user_id']] = $user->data['user_id'];
$notify_rows = array();
// -- get forum_userids || topic_userids
$sql = 'SELECT u.user_id, u.username, u.user_email, u.user_lang, u.user_notify_type, u.user_jabber
FROM ' . (($topic_notification) ? TOPICS_WATCH_TABLE : FORUMS_WATCH_TABLE) . ' w, ' . USERS_TABLE . ' u
WHERE w.' . (($topic_notification) ? 'topic_id' : 'forum_id') . ' = ' . (($topic_notification) ? $topic_id : $forum_id) . '
AND ' . $db->sql_in_set('w.user_id', $sql_ignore_users, true) . '
AND w.notify_status = ' . NOTIFY_YES . '
AND u.user_type IN (' . USER_NORMAL . ', ' . USER_FOUNDER . ')
AND u.user_id = w.user_id';
$result = $db->sql_query($sql);
while ($row = $db->sql_fetchrow($result))