Error writing file '/var/tmp/MYoonM9Y' (Errcode: 28 - No space left on device) (3)
SELECT SQL_CALC_FOUND_ROWS products.product_id, IF(shared_descr.product_id IS NOT NULL, shared_descr.product, descr1.product) as product, companies.company as company_name, products.product_type, products.parent_product_id, MAX(100 - ((prices.price * 100) / products.list_price)) AS sales_discount 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 LEFT JOIN cscart_companies AS companies ON companies.company_id = products.company_id 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') AND cscart_categories.storefront_id IN (0, 1) 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' WHERE 1 AND companies.status IN ('A') 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 products.parent_product_id = 0 GROUP BY products.product_id HAVING sales_discount > 0 ORDER BY sales_discount desc, products.product_id ASC LIMIT 0, 3
app/Tygh/Database/Connection.php, line: 1701
File: | app/Tygh/Database/Connection.php |
Line: | 1478 |
Function: | throwError |
File: | app/Tygh/Database/Connection.php |
Line: | 699 |
Function: | execQuery |
File: | app/Tygh/Database/Connection.php |
Line: | 332 |
Function: | query |
File: | app/functions/fn.database.php |
Line: | 35 |
Function: | getArray |
File: | app/functions/fn.products.php |
Line: | 2328 |
Function: | db_get_array |
File: | app/functions/fn.products.php |
Line: | 2411 |
Function: | {closure} |
File: | app/Tygh/BlockManager/Block.php |
Line: | 974 |
Function: | fn_get_products |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 810 |
Function: | getItems |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 666 |
Function: | getValue |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 493 |
Function: | renderBlockContent |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 415 |
Function: | renderBlock |
File: | app/Tygh/BlockManager/RenderManager.php |
Line: | 373 |
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/grt__unitheme2/5b28424656206d91a7635711fcd72537f5f6d070_2.tygh.index.tpl.php |
Line: | 226 |
Function: | smarty_function_render_location |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php |
Line: | 123 |
Function: | content_67d7b99a07cb48_57563838 |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php |
Line: | 114 |
Function: | getRenderedTemplateCode |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php |
Line: | 216 |
Function: | render |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php |
Line: | 238 |
Function: | render |
File: | app/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php |
Line: | 116 |
Function: | _execute |
File: | app/Tygh/SmartyEngine/Core.php |
Line: | 81 |
Function: | fetch |
File: | app/functions/fn.control.php |
Line: | 632 |
Function: | fetch |
File: | index.php |
Line: | 28 |
Function: | fn_dispatch |