Could not query news information
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 'i' at line 13
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.forumid = 51765
AND pt.forumid = 51765
AND p.forumid = 51765
AND u.forumid = 51765
AND t.forum_id = '1' 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_vote <> 1
AND t.topic_status <> 2
ORDER BY
t.topic_time DESC LIMIT 0,i
Line : 283 File : mod_news.php |