Categories hierarchy mod 2.1.0. bekomme ich folgenden
wenn ich einen neuen Post oder Thema machen will.Parse error: syntax error, unexpected T_ELSE in /www/htdocs/w0079a67/includes/functions_post.php on line 584
Code: Alles auswählen
// if (!($result = $db->sql_query($sql)))
// {
// message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql);
// }
//
// if ($row = $db->sql_fetchrow($result))
// {
// $forum_update_sql .= ($row['last_post_id']) ? ', forum_last_post_id = ' . $row['last_post_id'] : ', forum_last_post_id = 0';
// }
//-- fin mod : categories hierarchy --------------------------------------------
}
}
else if ($post_data['first_post']) <----zeile 584
{
$sql = "SELECT MIN(post_id) AS first_post_id
FROM " . POSTS_TABLE . "
WHERE topic_id = $topic_id";
if (!($result = $db->sql_query($sql)))
{
message_die(GENERAL_ERROR, 'Error in deleting post', '', __LINE__, __FILE__, $sql);
Ebenfalls bekomm ich einen
wenn ich im Adminbereich in Forum ----> einstellungen/styles/...Parse error: syntax error, unexpected T_ELSE in /www/htdocs/w0079a67/includes/functions_admin.php on line 345
will
Code: Alles auswählen
}
}
}
$db->sql_statement($fields);
$sql = 'UPDATE ' . TOPICS_TABLE . '
SET ' . $db->sql_update . '
WHERE topic_id = ' . intval($id);
$db->sql_query($sql, false, __LINE__, __FILE__);
//-- fin mod : categories hierarchy --------------------------------------------
else <----zeile 345
{
// There are no replies to this topic
// Check if it is a move stub
$sql = 'SELECT topic_moved_id
FROM ' . TOPICS_TABLE . "