Seite 1 von 1

Fehler in admin_ug_auth.php

Verfasst: 30.12.2004 12:59
von Lumio
Hi!
Ich wollte gerade einen anderen Benutzer als Admin einstellen, da kommt plötzlich dieser Fehler:
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
Was soll ich tun?
In Zeile 180 in dieser Datei steht:

Code: Alles auswählen

				message_die(GENERAL_ERROR, "Couldn't delete auth access info", "", __LINE__, __FILE__, $sql);
Der ganze Block von 175 bis 181:

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);
			}

Verfasst: 30.12.2004 13:10
von Henne
Irgendwie läuft da mit den Gruppen was schief.
Schonmal folgende Mod probiert?
http://phpbb.kordowich.net/index.php?pgid=3

Am besten damit mal Gruppen-Tabellen überprüfen...