SQL Error: Lost connection to MySQL server during query at /home/shef/socis.isras.ru/html/dreamedit/includes/class.Headers.php line 300
    [code] => 2013
    [message] => Lost connection to MySQL server during query
    [query] => SELECT cv.icont_text AS ARRAY_KEY,e.el_id,ctl.icont_text AS title ,
			IF(cct.icont_text='Общая лента',hh2.icont_text,ct.icont_text)  AS text, cs.icont_text AS sort,
			cf.icont_text AS fname,  IF (cct.icont_text='Общая лента','Текст',cct.icont_text) AS ctype, ccc.icont_text AS cclass, ccs.icont_text AS csize,
			clp.icont_text AS link_id,
			 cs.icont_text AS sort,
			 st.icont_text AS showtitle,
			 fff.icont_text AS full_text,
			 cf.icont_text AS fname, ccc.icont_text AS cclass,cr.icont_text AS razdel_title,
			clp.icont_text AS link_id,ctle.icont_text AS title_en,
            IF(cct.icont_text='Общая лента',hhe.icont_text,cte.icont_text)  AS text_en,

			cstatuse.icont_text AS status_en			 FROM adm_headers_type t  INNER JOIN adm_headers_element e ON t.itype_id = e.itype_id AND t.itype_name = 'Главная страница - Центральная колонка'  INNER JOIN adm_headers_content cv ON e.el_id = cv.el_id AND cv.icont_var = 'value'  INNER JOIN adm_headers_content ctl ON e.el_id = ctl.el_id AND ctl.icont_var = 'title'  LEFT OUTER JOIN adm_headers_content ctle ON e.el_id = ctle.el_id AND ctle.icont_var = 'title_en'  INNER JOIN adm_headers_content ct ON e.el_id = ct.el_id AND ct.icont_var = 'text'  LEFT OUTER JOIN adm_headers_content cte ON e.el_id = cte.el_id AND cte.icont_var = 'text_en'  INNER JOIN adm_headers_content cs ON e.el_id = cs.el_id AND cs.icont_var = 'sort'  INNER JOIN adm_headers_content cct ON e.el_id = cct.el_id AND cct.icont_var = 'ctype'  INNER JOIN adm_headers_content cf ON e.el_id = cf.el_id AND cf.icont_var = 'fname'  INNER JOIN adm_headers_content ccc ON e.el_id = ccc.el_id AND ccc.icont_var = 'cclass'  INNER JOIN adm_headers_content ccs ON e.el_id = ccs.el_id AND ccs.icont_var = 'csize'  LEFT OUTER JOIN adm_headers_content cr ON e.el_id = cr.el_id AND cr.icont_var = 'razdel_title'  LEFT OUTER JOIN adm_headers_content clp ON e.el_id = clp.el_id AND clp.icont_var = 'link_id'  INNER JOIN adm_headers_content cstatus ON e.el_id = cstatus.el_id AND cstatus.icont_var = 'status'  LEFT OUTER JOIN adm_headers_content cstatuse ON e.el_id = cstatuse.el_id AND cstatuse.icont_var = 'status_en'  LEFT OUTER JOIN adm_headers_content AS hh ON hh.el_id=e.el_id AND hh.icont_var='cname' LEFT OUTER JOIN adm_headers_content AS st ON st.el_id=e.el_id AND st.icont_var='showtitle' LEFT OUTER JOIN adm_headers_content AS hh2 ON hh2.el_id=hh.icont_text AND hh2.icont_var='text' LEFT OUTER JOIN adm_headers_content AS hhe ON hhe.el_id=hh.icont_text AND hhe.icont_var='text_en' LEFT OUTER JOIN adm_headers_content AS fff ON fff.el_id=e.el_id AND fff.icont_var='full_text' WHERE  cstatus.icont_text=1 ORDER BY cs.icont_text 
    [context] => /home/shef/socis.isras.ru/html/dreamedit/includes/class.Headers.php line 300