QUERY ERROR: SELECT * FROM terem_stat_page WHERE CODE_VISIT = 24607 order by DATE DESC, CODE DESCQUERY ERROR: SELECT * FROM terem_stat_page WHERE PAGENAME = '/eng' AND CODE = 0

SQL QUERY: SELECT sysname, val FROM terem_constants WHERE tbl = 'PAGE'
REASON: MySQL server has gone away 

SQL QUERY: SELECT p.*, h.class_name, h.alias as hand_alias FROM terem_pages p, terem_handlers h WHERE p.id_handler = h.id_handler AND h.visible = 1 AND p.visible=1 AND p.alias = 'ng' AND p.lang = 1
REASON: MySQL server has gone away 

SQL QUERY: SELECT p.id_page, p.alias FROM terem_pages p INNER JOIN terem_handlers h ON p.id_handler = h.id_handler where h.alias = 'mainpage' AND p.lang = 1 AND p.visible = 1 order by p.sort_order
REASON: MySQL server has gone away 

SQL QUERY: SELECT p.*, h.class_name, h.alias as hand_alias FROM terem_pages p, terem_handlers h WHERE p.id_handler = h.id_handler AND h.visible = 1 AND p.visible=1 AND p.id_page = '-1' AND p.lang = 1
REASON: MySQL server has gone away 

SQL QUERY: SELECT p.id_page, p.alias FROM terem_pages p INNER JOIN terem_handlers h ON p.id_handler = h.id_handler where h.alias = 'mainpage' AND p.lang = 1 AND p.visible = 1 order by p.sort_order
REASON: MySQL server has gone away 

SQL QUERY: SELECT id_content, description FROM terem_contents WHERE visible=1 AND id_page = '-1' AND lang = 1 ORDER BY sort_order
REASON: MySQL server has gone away 

SQL QUERY: SELECT p.id_parent, p.id_page, p.header, p.alias as page_alias, h.class_name, h.alias FROM terem_handlers h INNER JOIN terem_pages p ON h.id_handler = p.id_handler WHERE p.visible = 1 AND p.id_page = -1 AND p.lang = 1 AND h.visible = 1
REASON: MySQL server has gone away 

SQL QUERY: SELECT p.id_page, p.header, p.alias as page_alias, p.link, p.url_icon, h.class_name, h.alias FROM terem_handlers h INNER JOIN terem_pages p ON h.id_handler = p.id_handler WHERE p.visible = 1 AND h.visible = 1 AND p.ismenu = 1 AND (p.id_parent = 0 OR p.id_parent is NULL) AND lang = 1 ORDER BY p.sort_order
REASON: MySQL server has gone away 

SQL QUERY: SELECT p.id_parent, p.id_page, p.header, p.alias as page_alias, h.class_name, h.alias FROM terem_handlers h INNER JOIN terem_pages p ON h.id_handler = p.id_handler WHERE p.visible = 1 AND p.id_page = -1 AND p.lang = 1 AND h.visible = 1
REASON: MySQL server has gone away 

SQL QUERY: SELECT p.id_page, p.header, p.alias as page_alias, p.link, p.url_icon, h.class_name, h.alias FROM terem_handlers h INNER JOIN terem_pages p ON h.id_handler = p.id_handler WHERE p.visible = 1 AND h.visible = 1 AND p.ismenu = 2 AND (p.id_parent = 0 OR p.id_parent is NULL) AND lang = 1 ORDER BY p.sort_order
REASON: MySQL server has gone away 

SQL QUERY: SELECT p.id_parent, p.id_page, p.header, p.alias as page_alias, h.class_name, h.alias FROM terem_handlers h INNER JOIN terem_pages p ON h.id_handler = p.id_handler WHERE p.visible = 1 AND p.id_page = -1 AND p.lang = 1 AND h.visible = 1
REASON: MySQL server has gone away 

SQL QUERY: SELECT p.id_page, p.header, p.alias as page_alias, p.link, p.url_icon, h.class_name, h.alias FROM terem_handlers h INNER JOIN terem_pages p ON h.id_handler = p.id_handler WHERE p.visible = 1 AND h.visible = 1 AND p.ismenu = 3 AND (p.id_parent = 0 OR p.id_parent is NULL) AND lang = 1 ORDER BY p.sort_order
REASON: MySQL server has gone away 

SQL QUERY: SELECT p.id_parent, p.id_page, p.header, p.alias as page_alias, h.class_name, h.alias FROM terem_handlers h INNER JOIN terem_pages p ON h.id_handler = p.id_handler WHERE p.visible = 1 AND p.id_page = -1 AND p.lang = 1 AND h.visible = 1
REASON: MySQL server has gone away 

SQL QUERY: SELECT p.id_page, p.header, p.alias as page_alias, p.link, p.url_icon, h.class_name, h.alias FROM terem_handlers h INNER JOIN terem_pages p ON h.id_handler = p.id_handler WHERE p.visible = 1 AND h.visible = 1 AND p.ismenu = 4 AND (p.id_parent = 0 OR p.id_parent is NULL) AND lang = 1 ORDER BY p.sort_order
REASON: MySQL server has gone away 

SQL QUERY: SELECT c.sysname, p.val FROM terem_constants c JOIN terem_constants_page p ON p.id_constant=c.id WHERE p.id_page=-1
REASON: MySQL server has gone away 

SQL QUERY: select pt.* from terem_place_texts pt left join terem_place_link pl on pt.id_place_text = pl.id_place_text where pt.id_place = 1 and (pl.id_page = -1 or pt.allpages = 1) and lang = 1 and pt.visible = 1 order by pt.sort_order
REASON: MySQL server has gone away 

SQL QUERY: select pt.* from terem_place_texts pt left join terem_place_link pl on pt.id_place_text = pl.id_place_text where pt.id_place = 2 and (pl.id_page = -1 or pt.allpages = 1) and lang = 1 and pt.visible = 1 order by pt.sort_order
REASON: MySQL server has gone away 

SQL QUERY: select pt.* from terem_place_texts pt left join terem_place_link pl on pt.id_place_text = pl.id_place_text where pt.id_place = 3 and (pl.id_page = -1 or pt.allpages = 1) and lang = 1 and pt.visible = 1 order by pt.sort_order
REASON: MySQL server has gone away 

SQL QUERY: select pt.* from terem_place_texts pt left join terem_place_link pl on pt.id_place_text = pl.id_place_text where pt.id_place = 4 and (pl.id_page = -1 or pt.allpages = 1) and lang = 1 and pt.visible = 1 order by pt.sort_order
REASON: MySQL server has gone away 

SQL QUERY: select pt.* from terem_place_texts pt left join terem_place_link pl on pt.id_place_text = pl.id_place_text where pt.id_place = 5 and (pl.id_page = -1 or pt.allpages = 1) and lang = 1 and pt.visible = 1 order by pt.sort_order
REASON: MySQL server has gone away 

SQL QUERY: select pt.* from terem_place_texts pt left join terem_place_link pl on pt.id_place_text = pl.id_place_text where pt.id_place = 6 and (pl.id_page = -1 or pt.allpages = 1) and lang = 1 and pt.visible = 1 order by pt.sort_order
REASON: MySQL server has gone away 

SQL QUERY: select pt.* from terem_place_texts pt left join terem_place_link pl on pt.id_place_text = pl.id_place_text where pt.id_place = 7 and (pl.id_page = -1 or pt.allpages = 1) and lang = 1 and pt.visible = 1 order by pt.sort_order
REASON: MySQL server has gone away 

SQL QUERY: select pt.* from terem_place_texts pt left join terem_place_link pl on pt.id_place_text = pl.id_place_text where pt.id_place = 5 and (pl.id_page = -1 or pt.allpages = 1) and lang = 1 and pt.visible = 1 order by pt.sort_order
REASON: MySQL server has gone away 

SQL QUERY: SELECT c.sysname, p.val FROM terem_constants c JOIN terem_constants_page p ON p.id_constant=c.id WHERE p.id_page=-1
REASON: MySQL server has gone away 

SQL QUERY: SELECT c.sysname, p.val FROM terem_constants c JOIN terem_constants_page p ON p.id_constant=c.id WHERE p.id_page=-1
REASON: MySQL server has gone away 

SQL QUERY: SELECT *, IF(1 = 1, name, name_e) as name FROM terem_photos WHERE id_object_id = '-1' and visible = 1 ORDER BY sort_order, date desc
REASON: MySQL server has gone away 

QUERY ERROR: SELECT CODE FROM terem_stat_visit WHERE ADDR='107.22.109.65' AND RES is NULL AND DATE LIKE '2017/07/23%' ORDER BY DATE DESC
TEREM CROSSOVER 2010






Создание сайта: AlkoDesign