Seite 1 von 1

fehlermeldung im adminbereich

Verfasst: 03.02.2003 19:21
von Dr.Urlaub
immer wenn ich das adminmenü öffne wird über dem logo dieser fehler angezeigt

Code: Alles auswählen

Parse error: parse error in admin_forums.php on line 395
dies sind die zeilen 394-398 aus der datei:

Code: Alles auswählen

VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . $value_sql . ")";
                VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . ", " . intval($HTTP_POST_VARS['events_forum']) . $value_sql . ")"; 

			if( !$result = $db->sql_query($sql) )
			{

Verfasst: 03.02.2003 20:45
von PhilippK
änder das mal testweise in:

Code: Alles auswählen

	VALUES ('" . $next_id . "', '" . str_replace("\'", "''", $HTTP_POST_VARS['forumname']) . "', " . intval($HTTP_POST_VARS[POST_CAT_URL]) . ", '" . str_replace("\'", "''", $HTTP_POST_VARS['forumdesc']) . "', $next_order, " . intval($HTTP_POST_VARS['forumstatus']) . ", " . intval($HTTP_POST_VARS['prune_enable']) . ", " . intval($HTTP_POST_VARS['events_forum']) . $value_sql . ")"; 
if( !$result = $db->sql_query($sql) ) 
{
Da hast du vermutlich was bei 'ne Mod-Installation falsch gemacht...

Gruß, Philipp

Verfasst: 03.02.2003 21:17
von Dr.Urlaub
ok geht, danke schön.