Error

Error executing query:

select *, UNIX_TIMESTAMP(lastupdated) as posttime, UNIX_TIMESTAMP() as curtime from acts WHERE story= AND ((UNIX_TIMESTAMP() - UNIX_TIMESTAMP(lastupdated)) < 518400) ORDER BY lastupdated DESC