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 ' active_time = 1337302355, active_ip = '38.107.179.238', ' at line 2
---
REPLACE INTO story_active SET active_id = , active_time = 1337302355, active_ip = '38.107.179.238', active_user_agent = 'CCBot/1.0 (+http://www.commoncrawl.org/bot.html)', active_session = 'tdbjic0u63ko9pracjgh3h4na2'
---
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 ') ORDER BY comment_time ASC' at line 3
---
SELECT *, DATE_FORMAT(c.comment_time, '%b %D %Y') AS comment_time2 FROM story_comments c, story_users u WHERE u.user_id = c.comment_author AND comment_topic = 3 AND comment_type = 0 AND (comment_state = 1 OR comment_author = ) ORDER BY comment_time ASC
---