Warning: mysqli::query(): (HY000/1194): Table 'oc_product' is marked as crashed and should be repaired in /home/ren32703/public_html/system/library/db/mysqli.php on line 19Notice: Error: Table 'oc_product' is marked as crashed and should be repaired
Error No: 1194
SELECT COUNT(DISTINCT ps.product_id) AS total FROM oc_product_special ps LEFT JOIN oc_product p ON (ps.product_id = p.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) in /home/ren32703/public_html/system/library/db/mysqli.php on line 41Warning: mysqli::query(): (HY000/1194): Table 'oc_product' is marked as crashed and should be repaired in /home/ren32703/public_html/system/library/db/mysqli.php on line 19Notice: Error: Table 'oc_product' is marked as crashed and should be repaired
Error No: 1194
SELECT DISTINCT ps.product_id, (SELECT AVG(rating) FROM oc_review r1 WHERE r1.product_id = ps.product_id AND r1.status = '1' GROUP BY r1.product_id) AS rating FROM oc_product_special ps LEFT JOIN oc_product p ON (ps.product_id = p.product_id) LEFT JOIN oc_product_description pd ON (p.product_id = pd.product_id) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE p.status = '1' AND p.date_available <= NOW() AND p2s.store_id = '0' AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < NOW()) AND (ps.date_end = '0000-00-00' OR ps.date_end > NOW())) GROUP BY ps.product_id ORDER BY p.sort_order ASC, LCASE(pd.name) ASC LIMIT 0,20 in /home/ren32703/public_html/system/library/db/mysqli.php on line 41Notice: Trying to get property of non-object in /home/ren32703/public_html/vqmod/vqcache/vq2-catalog_model_catalog_product.php on line 254Warning: Invalid argument supplied for foreach() in /home/ren32703/public_html/vqmod/vqcache/vq2-catalog_model_catalog_product.php on line 254 Promocje