Table './acoverru/SC_products' is marked as crashed and last (automatic?) repair failed
SELECT COUNT(DISTINCT p.productID) as cnt FROM SC_products p LEFT JOIN SC_vendors vendors ON p.vendorID=vendors.vendorID WHERE (categoryID IN (796)) AND ( enabled=1)