ok - i have definitely narrowed it down to somethign to do with this JOIN in particular:
LEFT JOIN sc_postgroup AS sc_pg ON (sc_pg.postid = p.postid)
There are sometime 0 or more records in sc_postgroup with the same postid. I need this here though because users are only able to see threads that are associated with the socialgroups they have joined. Maybe this JOiN should be replaced with a subquery?
--------------- Added [DATE]1249100198[/DATE] at [TIME]1249100198[/TIME] ---------------
*solved, please disregard*
|