Notice: Error: Table '.\candomy@002ddata\dbproduct' is marked as crashed and should be repaired
Error No: 145
SELECT COUNT(DISTINCT p.product_id) AS total FROM dbproduct p LEFT JOIN dbproduct_description pd ON (p.product_id = pd.product_id) LEFT JOIN dbproduct_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN dbproduct_to_category p2c ON (p.product_id = p2c.product_id) WHERE pd.language_id = '1' AND p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND p2c.category_id IN (156) in D:\website\candomy\system\database\mysqliz.php on line 53