:: Database layer malfunction ::
In script:
Message: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 '-8, 10' at line 4
Database query:
SELECT *, p.id as pid  FROM products p, products_categories pc WHERE
          pc.productid = p.id AND pc.categoryid = '1243' AND
          p.valid=1 and ((p.display='Y') OR ((p.display='schedule') AND (p.scheduledate < NOW() ))) AND 
          ((p.expires='N') OR ((p.expires='Y') AND (p.expiredate > NOW() ))) ORDER BY important,p.s_name  LIMIT -8, 10
Query measure:194