Loading...
Sách Khoa học kỹ thuật mới phát hành
Got error 28 from storage engine (1030)
SELECT SQL_CALC_FOUND_ROWS products.*, descr1.product as product, descr1.shortname as shortname, MIN(IF(prices.percentage_discount = 0, prices.price, prices.price - (prices.price * prices.percentage_discount)/100)) as price, GROUP_CONCAT(IF(products_categories.link_type = 'M', CONCAT(products_categories.category_id, 'M'), products_categories.category_id)) as category_ids, products_categories.position, mkc_seo_names.name as seo_name FROM mkc_products as products LEFT JOIN mkc_product_features_values ON mkc_product_features_values.product_id = products.product_id LEFT JOIN mkc_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'vi' LEFT JOIN mkc_product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 LEFT JOIN mkc_products_categories as products_categories ON products_categories.product_id = products.product_id LEFT JOIN mkc_categories ON mkc_categories.category_id = products_categories.category_id AND mkc_categories.status IN ('A', 'H') LEFT JOIN mkc_seo_names ON mkc_seo_names.object_id = products.product_id AND mkc_seo_names.type = 'p' AND mkc_seo_names.dispatch = '' AND mkc_seo_names.lang_code = 'vi' WHERE 1 AND mkc_product_features_values.feature_id = 19 AND products_categories.category_id IN (356, 443, 444, 445, 446, 447, 448, 449, 450, 451) AND products.status IN ('A') GROUP BY products.product_id ORDER BY mkc_product_features_values.value desc,products.`avail_since` DESC LIMIT 0, 5

Backtrace:

File:app/Tygh/Database.php
Line:313
Function:_error
File:app/Tygh/Database.php
Line:81
Function:query
File:app/functions/fn.database.php
Line:29
Function:getArray
File:app/functions/fn.catalog.php
Line:7974
Function:db_get_array
File:app/functions/fn.common.php
Line:6249
Function:fn_get_products
File:var/cache/templates/design/themes/vinabook_v4/templates/cb818f7ac9e88fc9b7d7a76c96a62ea96c06d14c.tygh.new_book_release.tpl.php
Line:67
Function:fn_get_new_book_release
File:app/lib/other/smarty/sysplugins/smarty_internal_templatebase.php
Line:180
Function:content_56bd127c726ef7_37593055
File:app/lib/other/smarty/sysplugins/smarty_internal_template.php
Line:286
Function:fetch
File:var/cache/templates/design/themes/vinabook_v4/templates/5311de5dbf79190fa4580caac39e18ba0de9e0b0.tygh.view.tpl.php
Line:124
Function:getSubTemplate
File:app/lib/other/smarty/sysplugins/smarty_internal_templatebase.php
Line:180
Function:content_56bd127c5d9465_28521681
File:app/Tygh/SmartyEngine/Core.php
Line:73
Function:fetch
File:app/Tygh/BlockManager/RenderManager.php
Line:525
Function:fetch
File:app/Tygh/BlockManager/RenderManager.php
Line:433
Function:_renderMainContent
File:app/Tygh/BlockManager/RenderManager.php
Line:372
Function:renderBlockContent
File:app/Tygh/BlockManager/RenderManager.php
Line:313
Function:renderBlock
File:app/Tygh/BlockManager/RenderManager.php
Line:268
Function:renderBlocks
File:app/Tygh/BlockManager/RenderManager.php
Line:174
Function:_renderGrid
File:app/Tygh/BlockManager/RenderManager.php
Line:145
Function:_renderContainer
File:app/functions/smarty_plugins/function.render_location.php
Line:47
Function:render
File:var/cache/templates/design/themes/vinabook_v4/templates/9b8274aff88c44627ca9ea444fc5e6e79e210743.tygh.index.tpl.php
Line:143
Function:smarty_function_render_location
File:app/lib/other/smarty/sysplugins/smarty_internal_templatebase.php
Line:180
Function:content_56bd1276655742_63570770
File:app/Tygh/SmartyEngine/Core.php
Line:73
Function:fetch
File:app/lib/other/smarty/sysplugins/smarty_internal_templatebase.php
Line:374
Function:fetch
File:app/Tygh/SmartyEngine/Core.php
Line:57
Function:display
File:app/functions/fn.control.php
Line:521
Function:display
File:index.php
Line:25
Function:fn_dispatch
Got error 28 from storage engine (1030)
SHOW COLUMNS FROM mkc_sessions

Backtrace:

File:app/Tygh/Database.php
Line:313
Function:_error
File:app/Tygh/Database.php
Line:182
Function:query
File:app/Tygh/Database.php
Line:474
Function:getColumn
File:app/Tygh/Database.php
Line:504
Function:getTableFields
File:app/Tygh/Database.php
Line:397
Function:checkTableFields
File:app/Tygh/Database.php
Line:296
Function:process
File:app/functions/fn.database.php
Line:130
Function:query
File:app/Tygh/Backend/Session/Database.php
Line:75
Function:db_query
File:app/Tygh/Session.php
Line:123
Function:write
File:app/Tygh/Session.php
Line:95
Function:save