Can't create/write to file '/var/tmp/#sql_47d_0.MAI' (Errcode: 28 "No space left on device") (1)
SELECT SQL_CALC_FOUND_ROWS (CASE WHEN products.parent_product_id <> 0 THEN products.parent_product_id ELSE products.product_id END) AS product_id, IF(shared_descr.product_id IS NOT NULL, shared_descr.product, descr1.product) as product, GROUP_CONCAT(products.product_id ORDER BY products.parent_product_id ASC, products.product_id ASC) AS product_ids, GROUP_CONCAT(products.product_type ORDER BY products.parent_product_id ASC, products.product_id ASC) AS product_types, GROUP_CONCAT(products.parent_product_id ORDER BY products.parent_product_id ASC, products.product_id ASC) AS parent_product_ids, products.product_type, products.parent_product_id, 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', 'H') LEFT JOIN cscart_ult_product_descriptions shared_descr ON shared_descr.product_id = products.product_id AND shared_descr.company_id = 1 AND shared_descr.lang_code = 'ru' INNER JOIN cscart_product_sales ON cscart_product_sales.product_id = products.product_id AND cscart_product_sales.category_id = products_categories.category_id WHERE 1 AND cscart_categories.company_id = 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) AND cscart_product_sales.amount >= 1 GROUP BY cscart_product_sales.product_id ORDER BY sales_amount desc, products.product_id ASC LIMIT 0, 6
app/Tygh/Database/Connection.php, line: 1155
| File: | app/Tygh/Database/Connection.php |
| Line: | 518 |
| Function: | throwError |
| File: | app/Tygh/Database/Connection.php |
| Line: | 226 |
| Function: | query |
| File: | app/functions/fn.database.php |
| Line: | 31 |
| Function: | getArray |
| File: | app/functions/fn.products.php |
| Line: | 2174 |
| Function: | db_get_array |
| File: | app/functions/fn.products.php |
| Line: | 2257 |
| Function: | {closure} |
| File: | app/Tygh/BlockManager/Block.php |
| Line: | 930 |
| Function: | fn_get_products |
| File: | app/Tygh/BlockManager/RenderManager.php |
| Line: | 802 |
| Function: | getItems |
| File: | app/Tygh/BlockManager/RenderManager.php |
| Line: | 658 |
| Function: | getValue |
| File: | app/Tygh/BlockManager/RenderManager.php |
| Line: | 485 |
| Function: | renderBlockContent |
| File: | app/Tygh/BlockManager/RenderManager.php |
| Line: | 407 |
| Function: | renderBlock |
| File: | app/Tygh/BlockManager/RenderManager.php |
| Line: | 365 |
| Function: | renderBlocks |
| File: | app/Tygh/BlockManager/RenderManager.php |
| Line: | 230 |
| Function: | renderGrid |
| File: | app/Tygh/BlockManager/RenderManager.php |
| Line: | 200 |
| Function: | renderGrids |
| File: | app/Tygh/BlockManager/RenderManager.php |
| Line: | 164 |
| Function: | _renderContainer |
| File: | app/functions/smarty_plugins/function.render_location.php |
| Line: | 52 |
| Function: | render |
| File: | var/cache/templates/abt__youpitheme/55468d7b2410b498195c0059217676eee4dc31e7.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_68f9aae977f438_09464855 |
| File: | app/Tygh/SmartyEngine/Core.php |
| Line: | 81 |
| Function: | fetch |
| File: | app/functions/fn.control.php |
| Line: | 600 |
| Function: | fetch |
| File: | index.php |
| Line: | 25 |
| Function: | fn_dispatch |