Global announcement MOD Problem...
Verfasst: 14.03.2006 20:53
Hallo habe folgenden Fehlermeldung bekommen.
[ externes Bild ]
Ich finde den Fehler nur nicht !
Das ist diese Textzeile....
Könnte mir da jemand helfen ? Oder bin ich nur blind ???

[ externes Bild ]
Ich finde den Fehler nur nicht !
Das ist diese Textzeile....
Code: Alles auswählen
// If the user isn't logged on then all we need do is check if the forum
// has the type set to ALL, if yes they are good to go, if not then they
// are denied access
//
$u_access = array();
if ( $userdata['session_logged_in'] )
{
$forum_match_sql = ( $forum_id != AUTH_LIST_ALL ) ? "AND a.forum_id = $forum_id" : '';
$sql = "SELECT a.forum_id, $a_sql, a.auth_mod
FROM " . AUTH_ACCESS_TABLE . " a, " . USER_GROUP_TABLE . " ug
WHERE ug.user_id = ".$userdata['user_id']. "
AND ug.user_pending = 0
AND a.group_id = ug.group_id
$forum_match_sql";
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, 'Failed obtaining forum access control lists', '', __LINE__, __FILE__, $sql);
}
if ( $row = $db->sql_fetchrow($result) )
{
do
{
Könnte mir da jemand helfen ? Oder bin ich nur blind ???