
Wie dem auch sei: Du hast Dein Board einfach "übermoddet". Beim nächsten phpBB3-Update bricht dann alles zusammen, weil Du keine Codestelle mehr findest, die Du anpassen sollst.
Ich halte das für die wahrscheinlichste Begründung, warum bei dir oft nichts so funktioniert, wie es soll.Miriam hat geschrieben:Wie dem auch sei: Du hast Dein Board einfach "übermoddet".
Das wäre einfacher wenn User in meinem Forum mich auf die Texte die Falsch sind aufmerksam machen würde,dann hätte ich etwas wo ich Kontrollieren kann und abhacken was gemacht wurde,den ich selber achte da nicht so sehr drauf.modernist hat geschrieben:Wenn ich mich recht entsinne, standen da mal einige gewagte Formulierungen, zumindest für Mitglieder der Rechtschreibpolizei.
Code: Alles auswählen
// BEGIN BAN TEST
$sql = 'SELECT b.*, u.user_id
FROM ' . BANLIST_TABLE . ' b, ' . USERS_TABLE . ' u
WHERE (b.ban_end >= ' . time() . '
OR b.ban_end = 0)';
$result = $db->sql_query($sql);
$ban_list = array();
while ($row2 = $db->sql_fetchrow($result))
{
$ban_list[] = $row2['ban_userid'];
}
$db->sql_freeresult($result);
// END BAN TEST
Code: Alles auswählen
$sql = 'SELECT ban_userid
FROM ' . BANLIST_TABLE . '
WHERE (ban_end >= ' . time() . '
OR ban_end = 0)';
Code: Alles auswählen
[phpBB Debug] PHP Notice: in file [ROOT]/viewtopic.php on line 2152: Undefined variable: ban_list
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 2152: in_array() [function.in-array]: Wrong datatype for second argument
[phpBB Debug] PHP Notice: in file [ROOT]/viewtopic.php on line 2152: Undefined variable: ban_list
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 2152: in_array() [function.in-array]: Wrong datatype for second argument
[phpBB Debug] PHP Notice: in file [ROOT]/viewtopic.php on line 2152: Undefined variable: ban_list
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 2152: in_array() [function.in-array]: Wrong datatype for second argument
[phpBB Debug] PHP Notice: in file [ROOT]/viewtopic.php on line 2152: Undefined variable: ban_list
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 2152: in_array() [function.in-array]: Wrong datatype for second argument
[phpBB Debug] PHP Notice: in file [ROOT]/viewtopic.php on line 2152: Undefined variable: ban_list
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 2152: in_array() [function.in-array]: Wrong datatype for second argument
[phpBB Debug] PHP Notice: in file [ROOT]/viewtopic.php on line 2152: Undefined variable: ban_list
[phpBB Debug] PHP Warning: in file [ROOT]/viewtopic.php on line 2152: in_array() [function.in-array]: Wrong datatype for second argument
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5242: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3960)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5244: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3960)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5245: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3960)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 5246: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3960)
Code: Alles auswählen
OR b.ban_end = 0)';
ban_end = 1
bringen?