General Error

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 'DISTINCT SQL_CALC_FOUND_ROWS p.post_id = p.topic_id GROUP BY DIS' at line 8 [1064]

SQL

SELECT DISTINCT SQL_CALC_FOUND_ROWS p.post_id FROM phpbb_topics t, phpbb_posts p WHERE p.poster_id = '304' AND p.post_approved = 1 AND p.forum_id NOT IN (2, 3, 7, 9, 11, 15, 20, 21, 22, 26, 27, 28, 33, 35, 36, 38, 39, 45, 50, 52, 59, 61, 63, 64, 65, 66, 67, 68, 69, 71, 75, 76, 79, 80, 81, 82, 83, 90, 95, 96, 97, 98, 99, 100) AND DISTINCT SQL_CALC_FOUND_ROWS p.post_id = p.topic_id GROUP BY DISTINCT SQL_CALC_FOUND_ROWS p.post_id, t.topic_last_post_time ORDER BY t.topic_last_post_time DESC


That sounds like a nub error.

Leave a Reply

Your email address will not be published. Required fields are marked *