Всё сломалось!
Класс: DB
engine::run();
engine::runComp("catcontent");
catcontent::run();
cTemplate::tplFetch("main");
Smarty_Internal_TemplateBase::fetch("main.html");
Smarty_Internal_TemplateBase::_execute([object],[object],[object],[object],[object]);
Smarty_Internal_Template::render([object],[object]);
Smarty_Template_Compiled::render([object]);
Smarty_Template_Resource_Base::getRenderedTemplateCode([object]);
::content_612ccad50c9300_62754277([object]);
Smarty_Internal_Template::_subTemplateRender("file:./outer/default.html",[object],[object],[object],[object],[object],[object],[object]);
Smarty_Internal_Template::render();
Smarty_Template_Compiled::render([object]);
Smarty_Template_Resource_Base::getRenderedTemplateCode([object]);
::content_612cb6074a12d0_73884952([object]);
Smarty_Internal_Template::_subTemplateRender("file:./../zchk.html",[object],[object],[object],[object],[object],[object],[object]);
Smarty_Internal_Template::render();
Smarty_Template_Compiled::render([object]);
Smarty_Template_Resource_Base::getRenderedTemplateCode([object]);
::content_612cd1b682a572_28375616([object]);
::smarty_function_exec([object],[object]);
engine::runComp("catblock",[object]);
catblock::run();
root::getDataByItems([object],[object]);
DB::execSQL("SELECT jk_home_flat.sect_id as item_id, cp_5357bda9 as "och", cp_4acd0a6e as "flat", cp_7ddd1d0b as "nroom", cp_ce3b1635 as "so", cp_0642af69 as "sz", cp_72c2771d as "sk", cp_f236f8e2 as "price", cp_a6975b8c as "bal", cp_cee77b1e as "lod", cp_0369c91e as "terassa", cp_074f4d51 as "plan0", cp_d17d5bd0 as "plan1", cp_2351d9a7 as "subw", cp_b85e3304 as "strict", cp_89afd892 as "type", cp_8608ac7e as "deadl", cp_96523cf2 as "deadline", cp_c36c2440 as "adr", cp_bf69509d as "korpus", cp_960a87ca as "f_ter", cp_2ab0e226 as "b_sub_k", cp_c7db9a8e as "b_mka_k", cp_04c63f8d as "b_vi_k", cp_542f419d as "b_ipo_k", cp_ebc77ca6 as "ras", cp_7f8a4275 as "otd", cp_c3122d2d as "metro_distance", cp_8ecf574b as "3bit_id", cp_02392bb7 as "icoords" FROM jk JOIN jk_home ON jk_home.jk_id = jk.id JOIN jk_home_flat ON jk_home_flat.jk_home_id = jk_home.id WHERE jk_home_flat.sect_id in ("9b86c1eef6", "b86e352c77", "35871371df", "feea15d7c8", "495e45ebe1", "a4a4ab8d0f", "a6898410b4", "9fa7c9bd47", "8a2e5d6847", "262e59dc68", "8fd2529126", "6d07691849") ");
SELECT
jk_home_flat.sect_id as item_id, cp_5357bda9 as "och", cp_4acd0a6e as "flat", cp_7ddd1d0b as "nroom", cp_ce3b1635 as "so", cp_0642af69 as "sz", cp_72c2771d as "sk", cp_f236f8e2 as "price", cp_a6975b8c as "bal", cp_cee77b1e as "lod", cp_0369c91e as "terassa", cp_074f4d51 as "plan0", cp_d17d5bd0 as "plan1", cp_2351d9a7 as "subw", cp_b85e3304 as "strict", cp_89afd892 as "type", cp_8608ac7e as "deadl", cp_96523cf2 as "deadline", cp_c36c2440 as "adr", cp_bf69509d as "korpus", cp_960a87ca as "f_ter", cp_2ab0e226 as "b_sub_k", cp_c7db9a8e as "b_mka_k", cp_04c63f8d as "b_vi_k", cp_542f419d as "b_ipo_k", cp_ebc77ca6 as "ras", cp_7f8a4275 as "otd", cp_c3122d2d as "metro_distance", cp_8ecf574b as "3bit_id", cp_02392bb7 as "icoords"
FROM jk
JOIN jk_home ON jk_home.jk_id = jk.id
JOIN jk_home_flat ON jk_home_flat.jk_home_id = jk_home.id
WHERE jk_home_flat.sect_id in ("9b86c1eef6", "b86e352c77", "35871371df", "feea15d7c8", "495e45ebe1", "a4a4ab8d0f", "a6898410b4", "9fa7c9bd47", "8a2e5d6847", "262e59dc68", "8fd2529126", "6d07691849")
MySQL server has gone away