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 'and mid=155 and langid=0' at line 1 update catalog_cache set cache_status=1, cache_date='1337419210' where cid=0 and xcid=0 and content_id= and mid=155 and langid=0