Portal    Foro    Buscar    FAQ    Registrarse    Conectarse
Error general
could not obtain main information.


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 'ORDER BY t.topic_last_post_id DESC LIMIT 0, 50' at line 9

SELECT DISTINCT(t.topic_id), t.*, p.poster_id, p.post_username AS last_poster_name, p.post_id, p.post_time, f.forum_name, f.forum_id, u.username AS last_poster, u.user_id AS last_poster_id, u.user_active AS last_poster_active, u.user_color AS last_poster_color, u2.username AS first_poster, u2.user_id AS first_poster_id, u2.user_active AS first_poster_active, u2.user_color AS first_poster_color, p2.post_username AS first_poster_name FROM (ip_topics t, ip_posts p) LEFT OUTER JOIN ip_posts p2 ON (p2.post_id = t.topic_first_post_id) LEFT OUTER JOIN ip_forums f ON (f.forum_id = p.forum_id) LEFT OUTER JOIN ip_users u ON (u.user_id = p.poster_id) LEFT OUTER JOIN ip_users u2 ON (u2.user_id = t.topic_poster) WHERE t.forum_id NOT IN (19,20) AND p.post_id = t.topic_last_post_id AND t.topic_status <> 2 AND t.topic_poster = ORDER BY t.topic_last_post_id DESC LIMIT 0, 50

Line : 290
File : recent.php