Notice: Error: Out of resources when opening file './imperiakovrov/oc_product_discount.MYD' (Errcode: 24 "Too many open files")
Error No: 23
SELECT MIN(pd.price * cr.value) AS `min`, MAX(pd.price * cr.value) AS `max` FROM oc_product_discount pd LEFT JOIN oc_product p ON (pd.product_id = p.product_id) LEFT JOIN oc_product_to_category p2c ON (p.product_id = p2c.product_id) LEFT JOIN oc_currency `cr` ON (LCASE(`cr`.code) = LCASE(p.location) OR (p.location = '' AND LCASE(`cr`.code) = LCASE('USD'))) LEFT JOIN oc_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE p.status = '1' AND p.price > '0' AND pd.price > '0' AND pd.quantity > '0' AND p2s.store_id = '0' AND p2c.category_id = '2' AND p.date_available <= '2024-11-23' AND pd.customer_group_id = '1' AND ((pd.date_start = '0000-00-00' OR pd.date_start < '2024-11-23') AND (pd.date_end = '0000-00-00' OR pd.date_end > '2024-11-23')) AND p.product_id IN(SELECT oov2p1.product_id FROM oc_ocfilter_option_value_to_product oov2p1 WHERE oov2p1.option_id = '43' AND (oov2p1.value_id = '226131327' OR oov2p1.value_id = '650931736' OR oov2p1.value_id = '1439596471' OR oov2p1.value_id = '1917825326' OR oov2p1.value_id = '1931480445' OR oov2p1.value_id = '2915155183' OR oov2p1.value_id = '3036993490' OR oov2p1.value_id = '3094076324' OR oov2p1.value_id = '3465844819')) in /var/www/imperiakovrov.com/system/database/mysql.php on line 27