ExceptionDb

MySQL server has gone away at unknown array(4) { ["code"]=> int(2006) ["message"]=> string(26) "MySQL server has gone away" ["query"]=> string(77) "SELECT `curr_value` FROM `finance_currency` WHERE `flag_check`=1" ["context"]=> string(7) "unknown" }

location

/var/www/teplostyle/data/www/teplostyle/core/Db/DbErrorHandler.php at line 8

trace

#0 [internal function]: DbErrorHandler->handler('MySQL server ha...', Array) #1 /var/www/teplostyle/data/www/teplostyle/core/DbSimple/Generic.php(1260): call_user_func(Array, 'MySQL server ha...', Array) #2 /var/www/teplostyle/data/www/teplostyle/core/DbSimple/Generic.php(884): DbSimple_Generic_LastError->_setLastError(2006, 'MySQL server ha...', 'SELECT `curr_va...') #3 /var/www/teplostyle/data/www/teplostyle/core/DbSimple/Mysql.php(181): DbSimple_Generic_Database->_setLastError(2006, 'MySQL server ha...', 'SELECT `curr_va...') #4 /var/www/teplostyle/data/www/teplostyle/core/DbSimple/Mysql.php(157): DbSimple_Mysql->_setDbError('SELECT `curr_va...') #5 /var/www/teplostyle/data/www/teplostyle/core/DbSimple/Generic.php(595): DbSimple_Mysql->_performQuery(Array) #6 /var/www/teplostyle/data/www/teplostyle/core/DbSimple/Generic.php(260): DbSimple_Generic_Database->_query(Array, false) #7 /var/www/teplostyle/data/www/teplostyle/shop/Lib/Config/ConfigShopFinderCurrencyRate.php(38): DbSimple_Generic_Database->selectRow('SELECT `curr_va...') #8 /var/www/teplostyle/data/www/teplostyle/shop/Lib/Config/ConfigShopFinderCurrencyRate.php(32): ConfigShopFinderCurrencyRate->_setRate() #9 /var/www/teplostyle/data/www/teplostyle/shop/Lib/Config/ConfigShop.php(219): ConfigShopFinderCurrencyRate->getRate() #10 /var/www/teplostyle/data/www/teplostyle/shop/Modules/Html/ModuleHtmlSimple.php(192): ConfigShop->getCurrencyRate(true) #11 /var/www/teplostyle/data/www/teplostyle/shop/Modules/Html/ModuleHtmlSimple.php(79): ModuleHtmlSimple->_addShopParams() #12 /var/www/teplostyle/data/www/teplostyle/shop/Modules/Html/ModuleHtmlSimple.php(26): ModuleHtmlSimple->_init() #13 [internal function]: ModuleHtmlSimple->__construct() #14 /var/www/teplostyle/data/www/teplostyle/core/ModuleRunStrategy/ModuleRunStrategyHtml.php(37): ReflectionClass->newInstance() #15 /var/www/teplostyle/data/www/teplostyle/core/ModuleRunStrategy/ModuleRunStrategyHtml.php(30): ModuleRunStrategyHtml->_runErrorModule() #16 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterRunner.php(10): ModuleRunStrategyHtml->run() #17 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterChain.php(12): FilterRunner->run(Object(FilterChain)) #18 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterUri.php(26): FilterChain->next() #19 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterChain.php(12): FilterUri->run(Object(FilterChain)) #20 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterModule.php(13): FilterChain->next() #21 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterChain.php(12): FilterModule->run(Object(FilterChain)) #22 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterInitCache.php(6): FilterChain->next() #23 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterChain.php(12): FilterInitCache->run(Object(FilterChain)) #24 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterShop.php(7): FilterChain->next() #25 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterChain.php(12): FilterShop->run(Object(FilterChain)) #26 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterAuth.php(13): FilterChain->next() #27 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterChain.php(12): FilterAuth->run(Object(FilterChain)) #28 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterDb.php(14): FilterChain->next() #29 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterChain.php(12): FilterDb->run(Object(FilterChain)) #30 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterSession.php(6): FilterChain->next() #31 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterChain.php(12): FilterSession->run(Object(FilterChain)) #32 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterResponse.php(17): FilterChain->next() #33 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterChain.php(12): FilterResponse->run(Object(FilterChain)) #34 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterConfig.php(5): FilterChain->next() #35 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterChain.php(12): FilterConfig->run(Object(FilterChain)) #36 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterRequest.php(5): FilterChain->next() #37 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterChain.php(12): FilterRequest->run(Object(FilterChain)) #38 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterInitErrorHandlers.php(21): FilterChain->next() #39 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterChain.php(12): FilterInitErrorHandlers->run(Object(FilterChain)) #40 /var/www/teplostyle/data/www/teplostyle/core/Filter/FilterChain.php(18): FilterChain->next() #41 /var/www/teplostyle/data/www/teplostyle/index.php(67): FilterChain->process() #42 {main}