ERROR IN QUERY:
SELECT COUNT(DISTINCT(a.general_num)) FROM `m_catalog_products` AS a LEFT JOIN `m_catalog_products_prices` AS b ON a.num=b.num LEFT JOIN `m_catalog_products_colors` AS c ON a.num=c.num WHERE `status` = '1' AND `access` = 'guest' AND mark != 'discontinued' AND categ IN (87, 88, 129, 130, 131, 132, 133, 134, 135, 136, 156, 157, 159)

ERROR INFO:
(2006) MySQL server has gone away

ERROR LOCATION:
into file /home/eubranded/public_html/libs/libs.php on line 637