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 '' at line 1
This is the statement that was being executed - SELECT scos_category.description, scos_posting. *, date_format(scos_posting.ts_added, '%M %e, %Y') AS ts_added_formatted FROM scos_posting, scos_category WHERE scos_posting.category_id = scos_category.id AND scos_posting.id =