Error: Table '_cartproduct' is marked as crashed and should be repaired
Error No: 1194
SELECT *, pd.name AS name, p.image, m.name AS manufacturer, ss.name AS stock, (SELECT AVG(r.rating) FROM _cartreview r WHERE p.product_id = r.product_id GROUP BY r.product_id) AS rating FROM _cartproduct p LEFT JOIN _cartproduct_description pd ON (p.product_id = pd.product_id) LEFT JOIN _cartproduct_to_store p2s ON (p.product_id = p2s.product_id) LEFT JOIN _cartmanufacturer m ON (p.manufacturer_id = m.manufacturer_id) LEFT JOIN _cartstock_status ss ON (p.stock_status_id = ss.stock_status_id) WHERE pd.language_id = '1' AND p2s.store_id = '0' AND ss.language_id = '1' AND (LCASE(pd.name) LIKE '%smmm sınavı çıkmış sorular%') AND p.status = '1' AND p.date_available <= NOW() GROUP BY p.product_id ORDER BY p.sort_order ASC LIMIT 0,20