Warning: mysqli::query(): MySQL server has gone away in /var/www/www-root/data/www/vsefarkopy.ru/system/library/db/mysqli.php on line 18Warning: mysqli::query(): Error reading result set's header in /var/www/www-root/data/www/vsefarkopy.ru/system/library/db/mysqli.php on line 18
Fatal error: Uncaught exception 'Exception' with message 'Error: MySQL server has gone away<br />Error No: 2006<br />SELECT p.product_id, p.price, (SELECT MIN(pd.price) FROM fn_product_discount pd WHERE pd.product_id = p.product_id AND pd.customer_group_id = '1' AND pd.quantity > '0' AND ((pd.date_start = '0000-00-00' OR pd.date_start < '2024-11-18') AND (pd.date_end = '0000-00-00' OR pd.date_end > '2024-11-18'))) AS discount, (SELECT MIN(ps.price) FROM fn_product_special ps WHERE ps.product_id = p.product_id AND ps.customer_group_id = '1' AND ((ps.date_start = '0000-00-00' OR ps.date_start < '2024-11-18') AND (ps.date_end = '0000-00-00' OR ps.date_end > '2024-11-18'))) AS special FROM fn_product p LEFT JOIN fn_product_to_category p2c ON (p.product_id = p2c.product_id) LEFT JOIN fn_product_to_store p2s ON (p.product_id = p2s.product_id) WHERE p2s.store_id = '0' AND p.status = '1' AND p.price > '0' AND p2c.category_id = '11101' AND p.date_available <= '2024-11-18' AND p.product_id IN (45,369,627,2669,2672,2673,2674,2675,26 in /var/www/www-root/data/www/vsefarkopy.ru/system/library/db/mysqli.php on line 40