Module: advertising
Class: CAdvBanner
File: /var/www/shintorg/webroot/bitrix/modules/advertising/classes/mysql/advertising.php
Function: GetList
Line: 613
MySQL Query Error: SELECT DISTINCT if (( (B.DATE_SHOW_FROM<=now() or B.DATE_SHOW_FROM is null or length(B.DATE_SHOW_FROM)<=0) and (B.DATE_SHOW_TO>=now() or B.DATE_SHOW_TO is null or length(B.DATE_SHOW_TO)<=0) and (ifnull(B.MAX_SHOW_COUNT,0)>ifnull(B.SHOW_COUNT,0) or ifnull(B.MAX_SHOW_COUNT,0)=0) and (ifnull(B.MAX_CLICK_COUNT,0)>ifnull(B.CLICK_COUNT,0) or ifnull(B.MAX_CLICK_COUNT,0)=0) and (ifnull(B.MAX_VISITOR_COUNT,0)>ifnull(B.VISITOR_COUNT,0) or ifnull(B.MAX_VISITOR_COUNT,0)=0) and (B.ACTIVE='Y') and (B.STATUS_SID='PUBLISHED') and (T.ACTIVE='Y') and (C.DATE_SHOW_FROM<=now() or C.DATE_SHOW_FROM is null or length(C.DATE_SHOW_FROM)<=0) and (C.DATE_SHOW_TO>=now() or C.DATE_SHOW_TO is null or length(C.DATE_SHOW_TO)<=0) and (ifnull(C.MAX_SHOW_COUNT,0)>ifnull(C.SHOW_COUNT,0) or ifnull(C.MAX_SHOW_COUNT,0)=0) and (ifnull(C.MAX_CLICK_COUNT,0)>ifnull(C.CLICK_COUNT,0) or ifnull(C.MAX_CLICK_COUNT,0)=0) and (ifnull(C.MAX_VISITOR_COUNT,0)>ifnull(C.VISITOR_COUNT,0) or ifnull(C.MAX_VISITOR_COUNT,0)=0) and (C.ACTIVE='Y') ), 'green', 'red') LAMP, B.*, B.FIRST_SITE_ID, B.FIRST_SITE_ID LID, if(B.SHOW_COUNT<=0,0,round((B.CLICK_COUNT*100)/B.SHOW_COUNT,2)) CTR, DATE_FORMAT(B.DATE_LAST_SHOW, '%d.%m.%Y %H:%i:%s') DATE_LAST_SHOW, DATE_FORMAT(B.DATE_LAST_CLICK, '%d.%m.%Y %H:%i:%s') DATE_LAST_CLICK, DATE_FORMAT(B.DATE_SHOW_FROM, '%d.%m.%Y %H:%i:%s') DATE_SHOW_FROM, DATE_FORMAT(B.DATE_SHOW_TO, '%d.%m.%Y %H:%i:%s') DATE_SHOW_TO, DATE_FORMAT(B.DATE_SHOW_FIRST, '%d.%m.%Y %H:%i:%s') DATE_SHOW_FIRST, DATE_FORMAT(B.DATE_CREATE, '%d.%m.%Y %H:%i:%s') DATE_CREATE, DATE_FORMAT(B.DATE_MODIFY, '%d.%m.%Y %H:%i:%s') DATE_MODIFY, C.NAME CONTRACT_NAME, T.NAME TYPE_NAME FROM b_adv_banner B INNER JOIN b_adv_type T ON (T.SID = B.TYPE_SID) INNER JOIN b_adv_contract C ON (C.ID = B.CONTRACT_ID) LEFT JOIN b_adv_banner_2_site BS ON (B.ID = BS.BANNER_ID) WHERE (1=1 AND ( ( (B.TYPE_SID='slider1' and B.TYPE_SID is not null) ) ) AND ( ( (BS.SITE_ID='s5' and BS.SITE_ID is not null) ) ) AND ( if (( (B.DATE_SHOW_FROM<=now() or B.DATE_SHOW_FROM is null or length(B.DATE_SHOW_FROM)<=0) and (B.DATE_SHOW_TO>=now() or B.DATE_SHOW_TO is null or length(B.DATE_SHOW_TO)<=0) and (ifnull(B.MAX_SHOW_COUNT,0)>ifnull(B.SHOW_COUNT,0) or ifnull(B.MAX_SHOW_COUNT,0)=0) and (ifnull(B.MAX_CLICK_COUNT,0)>ifnull(B.CLICK_COUNT,0) or ifnull(B.MAX_CLICK_COUNT,0)=0) and (ifnull(B.MAX_VISITOR_COUNT,0)>ifnull(B.VISITOR_COUNT,0) or ifnull(B.MAX_VISITOR_COUNT,0)=0) and (B.ACTIVE='Y') and (B.STATUS_SID='PUBLISHED') and (T.ACTIVE='Y') and (C.DATE_SHOW_FROM<=now() or C.DATE_SHOW_FROM is null or length(C.DATE_SHOW_FROM)<=0) and (C.DATE_SHOW_TO>=now() or C.DATE_SHOW_TO is null or length(C.DATE_SHOW_TO)<=0) and (ifnull(C.MAX_SHOW_COUNT,0)>ifnull(C.SHOW_COUNT,0) or ifnull(C.MAX_SHOW_COUNT,0)=0) and (ifnull(C.MAX_CLICK_COUNT,0)>ifnull(C.CLICK_COUNT,0) or ifnull(C.MAX_CLICK_COUNT,0)=0) and (ifnull(C.MAX_VISITOR_COUNT,0)>ifnull(C.VISITOR_COUNT,0) or ifnull(C.MAX_VISITOR_COUNT,0)=0) and (C.ACTIVE='Y') ), 'green', 'red') = 'green' ) ) ORDER BY B.WEIGHT desc [[1021] Disk full (/var/tmp/#sql_45e6_0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")]

DB query error.
Please try later.