Wenn ich nun die Portal.php aufrufe erhalte ich folgenden Fehler:
Code: Alles auswählen
Allgemeiner Fehler
Could not query announcements information
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax near ') AND t.topic_time <= 1109240018 AND t.topic_poster = u.user_id AND ' at line 23
SELECT t.topic_id, t.topic_time, t.topic_title, pt.post_text, u.username, u.user_id, t.topic_replies, pt.bbcode_uid, t.forum_id, t.topic_poster, t.topic_first_post_id, t.topic_status, pt.post_id, p.post_id, p.enable_smilies FROM phpbb_topics AS t, phpbb_users AS u, phpbb_posts_text AS pt, phpbb_posts AS p WHERE t.forum_id IN () AND t.topic_time <= 1109240018 AND t.topic_poster = u.user_id AND t.topic_first_post_id = pt.post_id AND t.topic_first_post_id = p.post_id AND t.topic_status <> 2 ORDER BY t.topic_time DESC
Line : 86
File : /home/virtual/site195/fst/var/www/html/portal_poll.php
Code: Alles auswählen
// query the database
//
if(!($result = $db->sql_query($sql)))
{
message_die(GENERAL_ERROR, 'Could not query announcements information', '', __LINE__, __FILE__, $sql);
}
//
// fetch all postings
Garnele