FILE: /var/www/vhosts/kalendar-podarkov.ru/httpdocs/bitrix/modules/iblock/classes/mysql/iblocksection.php
LINE: 315
MySQL Query Error: SELECT DISTINCT BS.ID AS ID, BS.CODE AS CODE, BS.IBLOCK_ID AS IBLOCK_ID, BS.NAME AS NAME, BUF.UF_SHOP_DEFAULT, BUF.UF_SHOP_PRICE_ID, BUF.UF_SHOP_PHONE, BUF.UF_SHOP_WH_RATE, BUF.UF_REGION, BUF.UF_MANAGER_EMAIL FROM b_iblock_section BS INNER JOIN b_iblock B ON BS.IBLOCK_ID = B.ID INNER JOIN b_uts_iblock_7_section BUF ON BUF.VALUE_ID = BS.ID WHERE 1=1 AND ((((BS.IBLOCK_ID = '7')))) AND ((((B.ID = '7')))) 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 ( BUF.UF_SHOP_ACTIVE = 1) ORDER BY BS.SORT asc , BS.NAME asc [Can't create/write to file '/var/tmp/#sql_3db_0.MAI' (Errcode: 122)]

DB query error.
Please try later.