File: /home/bitrix/ext_www/electrodom.by/bitrix/modules/catalog/mysql/cataloggroup.php
Line: 393
MySQL Query Error: SELECT CG.ID as ID, CG.NAME as NAME, CG.BASE as BASE, CG.SORT as SORT, CG.XML_ID as XML_ID, CG.MODIFIED_BY as MODIFIED_BY, CG.CREATED_BY as CREATED_BY, REPLACE(REPLACE(DATE_FORMAT(CG.DATE_CREATE, '%m/%d/%Y %h:%i:%s %p'), 'PM', 'pm'), 'AM', 'am') as DATE_CREATE, REPLACE(REPLACE(DATE_FORMAT(CG.TIMESTAMP_X, '%m/%d/%Y %h:%i:%s %p'), 'PM', 'pm'), 'AM', 'am') as TIMESTAMP_X, CGL.NAME as NAME_LANG, IF(CGG.ID IS NULL, 'N', 'Y') as CAN_ACCESS, IF(CGG1.ID IS NULL, 'N', 'Y') as CAN_BUY, COUNT( CG.ID) as CNT FROM b_catalog_group CG LEFT JOIN b_catalog_group_lang CGL ON (CG.ID = CGL.CATALOG_GROUP_ID AND CGL.LANG = 'ru') LEFT JOIN b_catalog_group2group CGG ON (CG.ID = CGG.CATALOG_GROUP_ID AND CGG.GROUP_ID IN (2) AND CGG.BUY <> 'Y') LEFT JOIN b_catalog_group2group CGG1 ON (CG.ID = CGG1.CATALOG_GROUP_ID AND CGG1.GROUP_ID IN (2) AND CGG1.BUY = 'Y') WHERE ((((CG.NAME = 'BASE' )))) GROUP BY CG.ID, CG.NAME, CG.BASE, CG.SORT, CG.XML_ID, CG.MODIFIED_BY, CG.CREATED_BY, CG.DATE_CREATE, CG.TIMESTAMP_X, CGL.NAME, IF(CGG.ID IS NULL, 'N', 'Y'), IF(CGG1.ID IS NULL, 'N', 'Y') ORDER BY CG.SORT ASC[[2006] MySQL server has gone away]

DB query error.
Please try later.