Расчет по смете Посчитаем материалы по вашей смете
FILE: /var/www/www-root/data/www/stroymartik.ru/bitrix/modules/iblock/classes/mysql/iblocksection.php
LINE: 417
MySQL Query Error: SELECT DISTINCT BS.ID AS ID FROM b_iblock_section BS INNER JOIN b_iblock B ON BS.IBLOCK_ID = B.ID WHERE 1=1 AND ((((BS.IBLOCK_ID = '18')))) AND ((((BS.IBLOCK_SECTION_ID = '688')))) AND ((((BS.GLOBAL_ACTIVE='Y')))) AND ((((BS.ACTIVE='Y')))) AND ((((B.ID = '18')))) AND ((((B.ACTIVE='Y')))) 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' )) )) [[2006] MySQL server has gone away]

DB query error.
Please try later.





Fatal error: Uncaught Bitrix\Main\DB\SqlQueryException: Mysql query error: (2006) MySQL server has gone away in /var/www/www-root/data/www/stroymartik.ru/bitrix/modules/main/lib/db/mysqliconnection.php:137 Stack trace: #0 /var/www/www-root/data/www/stroymartik.ru/bitrix/modules/main/lib/db/mysqlcommonconnection.php(136): Bitrix\Main\DB\MysqliConnection->queryInternal('SELECT * FROM `...') #1 /var/www/www-root/data/www/stroymartik.ru/bitrix/modules/main/lib/db/connection.php(779): Bitrix\Main\DB\MysqlCommonConnection->getTableFields('b_sec_session') #2 /var/www/www-root/data/www/stroymartik.ru/bitrix/modules/main/lib/db/sqlhelper.php(399): Bitrix\Main\DB\Connection->getTableField('b_sec_session', 'SESSION_ID') #3 /var/www/www-root/data/www/stroymartik.ru/bitrix/modules/main/lib/orm/data/datamanager.php(1531): Bitrix\Main\DB\SqlHelper->prepareAssignment('b_sec_session', 'SESSION_ID', 'PAX9CgTbSThkYch...') #4 /var/www/www-root/data/www/stroymartik.ru/bitrix/modules/security/classes/general/session_db.php(92): Bitrix\Main\ORM in /var/www/www-root/data/www/stroymartik.ru/bitrix/modules/main/lib/db/mysqliconnection.php on line 137