Error

Error executing query:

SELECT *, sc_char.id as cid, sc_char.member as memberID, DATE_FORMAT(act_post.lastupdated,'%l:%i %p on %c/%e/%y') as dadded, act_post.id as postid FROM act_post, sc_char WHERE act_post.sc_char=sc_char.id AND act_post.act= ORDER BY act_post.dateadded LIMIT 0, 15