Добавление вопроса в Гостевую книгу

FILE: /var/www/sites/rossmed.ru/html/bitrix/modules/iblock/classes/mysql/iblocksection.php
LINE: 319
MySQL Query Error: SELECT DISTINCT BS.ID AS ID, BS.NAME AS NAME, BS.DEPTH_LEVEL AS DEPTH_LEVEL FROM b_iblock_section BS INNER JOIN b_iblock B ON BS.IBLOCK_ID = B.ID LEFT JOIN b_iblock_group IBG ON IBG.IBLOCK_ID=B.ID WHERE 1=1 AND ((((BS.ACTIVE='Y')))) AND ((((BS.IBLOCK_ID = '14')))) AND ((((B.ID = '14')))) AND ( IBG.GROUP_ID IN (2) AND IBG.PERMISSION >= 'R' AND (IBG.PERMISSION='X' OR B.ACTIVE='Y') ) ORDER BY BS.LEFT_MARGIN asc [Expression #1 of ORDER BY clause is not in SELECT list, references column 'rossmedru.BS.LEFT_MARGIN' which is not in SELECT list; this is incompatible with DISTINCT]

DB query error.
Please try later.