MySQL server has gone away (2006)
SELECT p.product_id, ifnull(count(dp.post_id),0) as discussion_amount_posts FROM cscart_discussion INNER JOIN cscart_products as p ON (cscart_discussion.object_id = p.product_id) INNER JOIN cscart_discussion_posts as dp ON (cscart_discussion.thread_id = dp.thread_id AND cscart_discussion.object_type = 'P' AND cscart_discussion.company_id = 1) WHERE dp.status = 'A' and p.product_id in (41837, 66895, 66896, 66897, 66898, 66899, 66900, 66901, 66902, 66903, 66904, 66905, 66906, 66907, 66908, 66909, 66910, 66911, 66912, 66913, 66914, 66915, 66916, 66917, 66918, 66919, 66920, 66921, 66922, 66923, 66924, 66925, 66926, 66927) GROUP BY p.product_id
app/Tygh/Database/Connection.php, line: 1153
File: | app/Tygh/Database/Connection.php |
Line: | 516 |
Function: | throwError |
File: | app/Tygh/Database/Connection.php |
Line: | 374 |
Function: | query |
File: | app/functions/fn.database.php |
Line: | 107 |
Function: | getSingleHash |
File: | app/addons/abt__unitheme/func.php |
Line: | 117 |
Function: | db_get_hash_single_array |
File: | app/functions/fn.control.php |
Line: | 120 |
Function: | fn_abt__unitheme_get_products_post |
File: | app/functions/fn.catalog.php |
Line: | 7714 |
Function: | fn_set_hook |
File: | app/Tygh/BlockManager/Block.php |
Line: | 930 |
Function: | fn_get_products |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 795 |
Function: | getItems |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 657 |
Function: | getValue |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 484 |
Function: | renderBlockContent |
File: | app/functions/smarty_plugins/function.render_block.php |
Line: | 47 |
Function: | renderBlock |
File: | var/cache/templates/grt__unitheme2/97c0c8958fb4183c657bdcd79cf34515f5649a20.tygh.product_popup_tabs.tpl.php |
Line: | 125 |
Function: | smarty_function_render_block |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php |
Line: | 188 |
Function: | content_62c6ab8bec6d33_40318622 |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php |
Line: | 304 |
Function: | fetch |
File: | var/cache/templates/grt__unitheme2/b1d384e230877890b81d4e34424405c1e12fad2d.tygh.bigpicture_template.tpl.php |
Line: | 807 |
Function: | getSubTemplate |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php |
Line: | 188 |
Function: | content_62c6ab85f2a666_27962584 |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php |
Line: | 304 |
Function: | fetch |
File: | var/cache/templates/grt__unitheme2/2486cc838b1b7f73d5171e6983dfbd9317b61cf1.tygh.view.tpl.php |
Line: | 119 |
Function: | getSubTemplate |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php |
Line: | 188 |
Function: | content_62c6ab859f9a50_17628074 |
File: | app/Tygh/SmartyEngine/Core.php |
Line: | 77 |
Function: | fetch |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 771 |
Function: | fetch |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 630 |
Function: | _renderMainContent |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 484 |
Function: | renderBlockContent |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 406 |
Function: | renderBlock |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 364 |
Function: | renderBlocks |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 229 |
Function: | renderGrid |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 199 |
Function: | renderGrids |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 163 |
Function: | _renderContainer |
File: | app/functions/smarty_plugins/function.render_location.php |
Line: | 52 |
Function: | render |
File: | var/cache/templates/grt__unitheme2/330483e8a1ceacf145398243f4c3a746c594f394.tygh.index.tpl.php |
Line: | 183 |
Function: | smarty_function_render_location |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php |
Line: | 188 |
Function: | content_62c6ab82cea555_88154414 |
File: | app/Tygh/SmartyEngine/Core.php |
Line: | 77 |
Function: | fetch |
File: | app/functions/fn.control.php |
Line: | 595 |
Function: | fetch |
File: | index.php |
Line: | 25 |
Function: | fn_dispatch |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 918 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 644 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 462 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::query(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 79
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 79 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 475 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
Tygh\Backend\Database\Mysqli::errorCode(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 131
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 131 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 930 |
Function: | errorCode |
File: | app/Tygh/Database/Connection.php |
Line: | 1110 |
Function: | errorCode |
File: | app/Tygh/Database/Connection.php |
Line: | 506 |
Function: | hasError |
File: | app/Tygh/Registry.php |
Line: | 654 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 468 |
Function: | saveCacheHandlers |
mysqli::real_escape_string(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 150
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 150 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 910 |
Function: | escape |
File: | app/Tygh/Database/Connection.php |
Line: | 886 |
Function: | prepareValue |
File: | app/Tygh/Database/Connection.php |
Line: | 601 |
Function: | filterData |
File: | app/Tygh/Database/Connection.php |
Line: | 538 |
Function: | process |
File: | app/Tygh/Registry.php |
Line: | 722 |
Function: | quote |
File: | app/Tygh/Registry.php |
Line: | 474 |
Function: | getCacheHandlers |
mysqli::query(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 79
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 79 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 475 |
Function: | query |
File: | app/Tygh/Database/Connection.php |
Line: | 343 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 732 |
Function: | getMultiHash |
File: | app/Tygh/Registry.php |
Line: | 474 |
Function: | getCacheHandlers |
Tygh\Backend\Database\Mysqli::errorCode(): Couldn't fetch mysqli
app/Tygh/Backend/Database/Mysqli.php, line: 131
File: | app/Tygh/Backend/Database/Mysqli.php |
Line: | 131 |
Function: | {closure} |
File: | app/Tygh/Database/Connection.php |
Line: | 930 |
Function: | errorCode |
File: | app/Tygh/Database/Connection.php |
Line: | 1110 |
Function: | errorCode |
File: | app/Tygh/Database/Connection.php |
Line: | 506 |
Function: | hasError |
File: | app/Tygh/Database/Connection.php |
Line: | 343 |
Function: | query |
File: | app/Tygh/Registry.php |
Line: | 732 |
Function: | getMultiHash |
File: | app/Tygh/Registry.php |
Line: | 474 |
Function: | getCacheHandlers |