MySQL Query Error: SELECT COUNT(DISTINCT BS.ID) as C FROM b_iblock_section BS INNER JOIN b_iblock B ON BS.IBLOCK_ID = B.ID INNER JOIN b_iblock_section BSTEMP ON BSTEMP.IBLOCK_ID = BS.IBLOCK_ID LEFT JOIN b_iblock_section_element BSE ON BSE.IBLOCK_SECTION_ID=BSTEMP.ID LEFT JOIN b_iblock_element BE ON (BSE.IBLOCK_ELEMENT_ID=BE.ID AND ((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL ) AND BE.IBLOCK_ID = BS.IBLOCK_ID ) ) WHERE 1=1 AND BSTEMP.IBLOCK_ID = BS.IBLOCK_ID AND BSTEMP.LEFT_MARGIN >= BS.LEFT_MARGIN AND BSTEMP.RIGHT_MARGIN <= BS.RIGHT_MARGIN AND ((((BS.ACTIVE='Y')))) AND ((((BS.IBLOCK_ID = '34')))) AND ((((BS.CODE LIKE 'kashpo')))) AND ((((B.ID = '34')))) 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' )) )) [Can't open file: './viol5_2/b_iblock_section.frm' (errno: 24)]

DB query error.
Please try later.





Fatal error: Uncaught exception 'Bitrix\Main\DB\SqlQueryException' with message 'Mysql query error: Can't open file: './viol5_2/b_option.frm' (errno: 24)' in /var/www/u1686jh2500/data/www/violetplast.ru/bitrix/modules/main/lib/db/mysqlconnection.php:116 Stack trace: #0 /var/www/u1686jh2500/data/www/violetplast.ru/bitrix/modules/main/lib/db/connection.php(329): Bitrix\Main\DB\MysqlConnection->queryInternal('SELECT 'x' FROM...', NULL, NULL) #1 /var/www/u1686jh2500/data/www/violetplast.ru/bitrix/modules/main/lib/db/connection.php(357): Bitrix\Main\DB\Connection->query('SELECT 'x' FROM...', NULL, 0, 1) #2 /var/www/u1686jh2500/data/www/violetplast.ru/bitrix/modules/main/lib/config/option.php(282): Bitrix\Main\DB\Connection->queryScalar('SELECT 'x' FROM...') #3 /var/www/u1686jh2500/data/www/violetplast.ru/bitrix/modules/main/classes/general/option.php(42): Bitrix\Main\Config\Option::set('main', 'dump_integrity_...', 1558553831, '') #4 /var/www/u1686jh2500/data/www/violetplast.ru/bitrix/modules/main/classes/general/option.php(63 in /var/www/u1686jh2500/data/www/violetplast.ru/bitrix/modules/main/lib/db/mysqlconnection.php on line 116