FILE: /var/www/v-20173/data/www/almatv.kz/bitrix/modules/iblock/classes/mysql/iblocksection.php
LINE: 417
MySQL Query Error: SELECT DISTINCT BS.ID AS ID, BS.NAME AS NAME, BS.LEFT_MARGIN AS LEFT_MARGIN, BS.DEPTH_LEVEL AS DEPTH_LEVEL, BS.IBLOCK_SECTION_ID AS IBLOCK_SECTION_ID, BS.SORT AS SORT, BUF.UF_LINK, BUF.UF_CLASS, BUF.UF_NAME_KZ FROM b_iblock_section BS INNER JOIN b_iblock B ON BS.IBLOCK_ID = B.ID INNER JOIN b_utm_iblock_35_section BUF1 ON BUF1.FIELD_ID = 52 AND BUF1.VALUE_ID = BS.ID LEFT JOIN b_uts_iblock_35_section BUF ON BUF.VALUE_ID = BS.ID WHERE 1=1 AND ((((BS.ACTIVE='Y')))) AND ((((BS.IBLOCK_ID = '35')))) AND ((((BS.DEPTH_LEVEL <= '3')))) AND ((((B.ID = '35')))) AND (( B.ID IN ( SELECT IBLOCK_ID FROM b_iblock_group IBG WHERE IBG.GROUP_ID IN (2) AND IBG.PERMISSION >= 'R' AND (IBG.PERMISSION='X' OR B.ACTIVE='Y') ) OR (B.RIGHTS_MODE = 'E' AND EXISTS ( SELECT SR.SECTION_ID FROM b_iblock_section_right SR INNER JOIN b_iblock_right IBR ON IBR.ID = SR.RIGHT_ID INNER JOIN b_user_access UA ON UA.ACCESS_CODE = IBR.GROUP_CODE AND UA.USER_ID = 0 WHERE SR.SECTION_ID = BS.ID AND IBR.OP_SREAD = 'Y' )) )) AND ( BUF1.VALUE_INT = 43) ORDER BY BS.LEFT_MARGIN asc , BS.SORT asc , BS.ID desc [[2006] MySQL server has gone away]
LINE: 417
MySQL Query Error: SELECT DISTINCT BS.ID AS ID, BS.NAME AS NAME, BS.LEFT_MARGIN AS LEFT_MARGIN, BS.DEPTH_LEVEL AS DEPTH_LEVEL, BS.IBLOCK_SECTION_ID AS IBLOCK_SECTION_ID, BS.SORT AS SORT, BUF.UF_LINK, BUF.UF_CLASS, BUF.UF_NAME_KZ FROM b_iblock_section BS INNER JOIN b_iblock B ON BS.IBLOCK_ID = B.ID INNER JOIN b_utm_iblock_35_section BUF1 ON BUF1.FIELD_ID = 52 AND BUF1.VALUE_ID = BS.ID LEFT JOIN b_uts_iblock_35_section BUF ON BUF.VALUE_ID = BS.ID WHERE 1=1 AND ((((BS.ACTIVE='Y')))) AND ((((BS.IBLOCK_ID = '35')))) AND ((((BS.DEPTH_LEVEL <= '3')))) AND ((((B.ID = '35')))) AND (( B.ID IN ( SELECT IBLOCK_ID FROM b_iblock_group IBG WHERE IBG.GROUP_ID IN (2) AND IBG.PERMISSION >= 'R' AND (IBG.PERMISSION='X' OR B.ACTIVE='Y') ) OR (B.RIGHTS_MODE = 'E' AND EXISTS ( SELECT SR.SECTION_ID FROM b_iblock_section_right SR INNER JOIN b_iblock_right IBR ON IBR.ID = SR.RIGHT_ID INNER JOIN b_user_access UA ON UA.ACCESS_CODE = IBR.GROUP_CODE AND UA.USER_ID = 0 WHERE SR.SECTION_ID = BS.ID AND IBR.OP_SREAD = 'Y' )) )) AND ( BUF1.VALUE_INT = 43) ORDER BY BS.LEFT_MARGIN asc , BS.SORT asc , BS.ID desc [[2006] MySQL server has gone away]
|