MySQL server has gone away (2006)
SELECT cscart_product_prices.product_id, MIN(IF(cscart_product_prices.percentage_discount = 0,cscart_product_prices.price,cscart_product_prices.price - (cscart_product_prices.price * cscart_product_prices.percentage_discount)/100)) AS price FROM cscart_product_prices WHERE cscart_product_prices.product_id IN (42040, 81423, 81424, 81425, 81426, 81427, 81428, 81429, 81430, 81431, 81432, 81433, 81434, 81435, 81436, 81437, 81438, 81439, 81440, 81441, 81442, 81443, 81444, 81445, 81446, 81447, 81448, 81449, 81450, 81451, 81452, 81453, 81454, 81455, 81456, 81457, 81458, 81459, 81460, 81461, 81462, 81463, 81464, 81465, 81466, 81467, 81468, 81469, 81470, 81471, 81472, 81473, 81474, 81475, 81476, 81477, 81478, 81479, 81480, 81481, 81482, 81483, 81484, 81485, 81486, 81487, 81488, 81489, 81490, 81491, 81492, 81493) AND cscart_product_prices.lower_limit = 1 AND cscart_product_prices.usergroup_id IN (0, 1) GROUP BY cscart_product_prices.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: | 251 |
Function: | query |
File: | app/functions/fn.database.php |
Line: | 44 |
Function: | getHash |
File: | app/functions/fn.catalog.php |
Line: | 8003 |
Function: | db_get_hash_array |
File: | app/functions/fn.catalog.php |
Line: | 7914 |
Function: | fn_load_extra_data_by_entity_ids |
File: | app/functions/fn.catalog.php |
Line: | 7702 |
Function: | fn_load_products_extra_data |
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 |