Лента атласная 0,6 см светло-травяной 402-100-6- купить ленты за 13.36 грн - интернет-магазин 100idey.com.ua
Server shutdown in progress (1053)
SELECT SQL_CALC_FOUND_ROWS products.product_id, products.product_code, products.product_type, products.status, products.company_id, products.list_price, products.amount, products.p_type, products.p_price, products.p_amount, products.unit, products.is_edp, products.videourl, products.sticker, products.timestamp, descr1.product as product, 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, popularity.total as popularity, SUM(cscart_product_sales.amount) as sales_amount FROM cscart_products as products LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'ru' LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.status IN ('A') LEFT JOIN cscart_product_popularity as popularity ON popularity.product_id = products.product_id LEFT JOIN cscart_product_sales ON cscart_product_sales.product_id = products.product_id WHERE 1 AND products.product_id NOT IN (47354) AND products_categories.category_id NOT IN (2426) AND popularity.total >= 1 AND (products.usergroup_ids = '' OR FIND_IN_SET(0, products.usergroup_ids) OR FIND_IN_SET(1, products.usergroup_ids)) AND products.status IN ('A') AND prices.usergroup_id IN (0, 0, 1) GROUP BY products.product_id ORDER BY popularity.total desc LIMIT 0, 10

Backtrace:

File:app/Tygh/Database.php
Line:321
Function:_error
File:app/Tygh/Database.php
Line:99
Function:query
File:app/functions/fn.database.php
Line:29
Function:getArray
File:app/addons/restudio_core/func.php
Line:1763
Function:db_get_array
File:app/Tygh/BlockManager/Block.php
Line:794
Function:fn_restudio_core_get_products
File:app/Tygh/BlockManager/RenderManager.php
Line:479
Function:getItems
File:app/Tygh/BlockManager/RenderManager.php
Line:376
Function:getValue
File:app/Tygh/BlockManager/RenderManager.php
Line:308
Function:renderBlockContent
File:app/Tygh/BlockManager/RenderManager.php
Line:249
Function:renderBlock
File:app/Tygh/BlockManager/RenderManager.php
Line:211
Function:renderBlocks
File:app/Tygh/BlockManager/RenderManager.php
Line:206
Function:_renderGrid
File:app/Tygh/BlockManager/RenderManager.php
Line:173
Function:_renderGrid
File:app/Tygh/BlockManager/RenderManager.php
Line:137
Function:_renderContainer
File:app/functions/smarty_plugins/function.render_location.php
Line:47
Function:render
File:var/cache/templates/design/themes/vip-posuda/templates/73/d0/d5/73d0d549e9ec6c4e57aa491879eb0f6f00252842.tygh.index.tpl.php
Line:202
Function:smarty_function_render_location
File:app/lib/other/smarty/sysplugins/smarty_internal_templatebase.php
Line:182
Function:content_59b278326acb62_67050808
File:app/Tygh/SmartyEngine/Core.php
Line:69
Function:fetch
File:app/lib/other/smarty/sysplugins/smarty_internal_templatebase.php
Line:377
Function:fetch
File:app/Tygh/SmartyEngine/Core.php
Line:53
Function:display
File:app/functions/fn.control.php
Line:516
Function:display
File:index.php
Line:28
Function:fn_dispatch