Author: Rohit Umarjikar
Subject: "View Recent Topics"- Minor bug
Posted: Fri Aug 05, 2016 7:38 pm (GMT 5.5)
Team,
I unknowingly entered '*4' and got the below error.
_________________
Regards,
Rohit Umarjikar
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."![icon_razz.gif]()
Subject: "View Recent Topics"- Minor bug
Posted: Fri Aug 05, 2016 7:38 pm (GMT 5.5)
Team,
I unknowingly entered '*4' and got the below error.
Code: |
could not obtain main 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 '*4 ORDER BY t.topic_last_post_id DESC LIMIT 0, 20' at line 7 SELECT 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, u2.username AS first_poster, u2.user_id AS first_poster_id, p2.post_username AS first_poster_name FROM (phpbb_topics t, phpbb_posts p) LEFT OUTER JOIN phpbb_posts p2 ON p2.post_id = t.topic_first_post_id LEFT OUTER JOIN phpbb_forums f ON p.forum_id = f.forum_id LEFT OUTER JOIN phpbb_users u ON p.poster_id = u.user_id LEFT OUTER JOIN phpbb_users u2 ON u2.user_id = t.topic_poster WHERE t.forum_id NOT IN (45,46) AND t.forum_id IN (31,27,1,39,40,7,8,47,9,10,11,41,13,14,15,22,23,24,42,38,35,4,43,44,6,37,45,47) AND p.post_id = t.topic_last_post_id AND UNIX_TIMESTAMP(NOW()) - p.post_time < 86400 * *4 ORDER BY t.topic_last_post_id DESC LIMIT 0, 20 Line : 127 |
_________________
Regards,
Rohit Umarjikar
"Knowledge is knowing that a tomato is a fruit, but Wisdom is knowing not to put it in a fruit salad."
