Поиск по сайту Zelao24.ru

File: /var/www/www-root/data/www/zelao24.ru/bitrix/modules/search/classes/general/search.php
Line: 255
MySQL Query Error: SELECT DISTINCT sc.ID ,sc.MODULE_ID ,sc.ITEM_ID ,sc.TITLE ,sc.TAGS ,sc.BODY ,sc.PARAM1 ,sc.PARAM2 ,sc.UPD ,sc.DATE_FROM ,sc.DATE_TO ,sc.URL ,sc.CUSTOM_RANK ,DATE_FORMAT(sc.DATE_CHANGE, '%d.%m.%Y %H:%i:%s') as FULL_DATE_CHANGE ,DATE_FORMAT(sc.DATE_CHANGE, '%d.%m.%Y') as DATE_CHANGE ,sc.USER_ID ,if(locate('РЖД', upper(sc.TITLE)) > 0, 1, 0) as TITLE_RANK ,scsite.URL as SITE_URL ,scsite.SITE_ID ,1 as RANK FROM b_search_content sc INNER JOIN b_search_content_site scsite ON sc.ID=scsite.SEARCH_CONTENT_ID INNER JOIN b_search_tags stags ON (sc.ID = stags.SEARCH_CONTENT_ID) WHERE (( EXISTS ( SELECT 1 FROM b_search_content_right scg WHERE sc.ID = scg.SEARCH_CONTENT_ID AND scg.GROUP_CODE = 'G2' ))) AND ( ( scsite.SITE_ID = 's1') AND( ( sc.MODULE_ID = 'iblock' AND sc.PARAM1 = 'news' AND sc.PARAM2 = '2') OR( sc.MODULE_ID = 'iblock' AND sc.PARAM1 = 'services' )) ) AND stags.NAME in ('РЖД') GROUP BY sc.ID ,scsite.URL ,scsite.SITE_ID HAVING ( (sum(stags.name = 'РЖД')>0) ) ORDER BY CUSTOM_RANK DESC, TITLE_RANK DESC, RANK DESC, sc.DATE_CHANGE DESC LIMIT 500[[1064] You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'RANK FROM b_search_content sc INNER JOIN b_search_content_site s' at line 21]

DB query error.
Please try later.