File: /www/blog/html/bitrix/modules/search/classes/general/search.php
Line: 201
MySQL Query Error: SELECT DISTINCT sc.ID ,sc.MODULE_ID ,sc.ITEM_ID ,sc.LID ,sc.TITLE ,sc.TAGS ,sc.BODY ,sc.SEARCHABLE_CONTENT ,sc.PARAM1 ,sc.PARAM2 ,sc.UPD ,sc.DATE_FROM ,sc.DATE_TO ,L.DIR ,L.SERVER_NAME ,sc.URL as URL ,1 as RANK ,scsite.URL as SITE_URL ,scsite.SITE_ID ,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 ,if(locate('ГАЗПРОМ НЕФТЬ', upper(sc.TITLE)) > 0, 1, 0) TITLE_RANK FROM b_search_content sc INNER JOIN b_search_content_site scsite ON sc.ID=scsite.SEARCH_CONTENT_ID INNER JOIN b_lang L ON scsite.SITE_ID=L.LID INNER JOIN b_search_tags stags ON (sc.ID = stags.SEARCH_CONTENT_ID) WHERE (( EXISTS ( SELECT 1 FROM b_search_content_group scg WHERE sc.ID = scg.SEARCH_CONTENT_ID AND scg.GROUP_ID IN (2) ))) AND scsite.SITE_ID = 's1' AND ( ( (sc.DATE_FROM IS NULL) OR sc.DATE_FROM <= '2017-09-25 02:59:27' ) AND ( (sc.DATE_TO IS NULL) OR sc.DATE_TO >= '2017-09-25 02:59:27' ) ) AND ( ( sc.MODULE_ID = 'iblock' AND sc.PARAM1 = 'articles' AND sc.PARAM2 = '2') ) AND stags.NAME in ('Газпром нефть') GROUP BY sc.ID ,L.DIR ,L.SERVER_NAME ,scsite.URL ,scsite.SITE_ID HAVING (( (sum( = 'Газпром нефть')>0) )) ORDER BY CUSTOM_RANK DESC, TITLE_RANK DESC, RANK DESC, sc.DATE_CHANGE DESC LIMIT 500[Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (cp1251_general_ci,COERCIBLE) for operation 'locate']

DB query error.
Please try later.