Fehler in admin_ug_auth.php
Verfasst: 30.12.2004 12:59
Hi!
Ich wollte gerade einen anderen Benutzer als Admin einstellen, da kommt plötzlich dieser Fehler:
In Zeile 180 in dieser Datei steht:
Der ganze Block von 175 bis 181:
Ich wollte gerade einen anderen Benutzer als Admin einstellen, da kommt plötzlich dieser Fehler:
Was soll ich tun?Couldn't delete auth access info
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND auth_mod = 0' at line 3
DELETE FROM phpbb_auth_access WHERE group_id = AND auth_mod = 0
Line : 180
File : /var/www/web236/html/forum/admin/admin_ug_auth.php
In Zeile 180 in dieser Datei steht:
Code: Alles auswählen
message_die(GENERAL_ERROR, "Couldn't delete auth access info", "", __LINE__, __FILE__, $sql);
Code: Alles auswählen
$sql = "DELETE FROM " . AUTH_ACCESS_TABLE . "
WHERE group_id = $group_id
AND auth_mod = 0";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Couldn't delete auth access info", "", __LINE__, __FILE__, $sql);
}