Table 'products' is marked as crashed and should be repaired(No Description) sql: SELECT COUNT(DISTINCT(c.product_id)) FROM products_categories c, products p WHERE c.product_id = p.id AND p.parent_id = 0 AND c.category_id = 26
Fatal error: Call to a member function getSingleResult() on a non-object in /home/atlantaw/public_html/library/categories.php on line 146