Database error: Error writing file '/tmp/MYh1U7Z2' (Errcode: 28 - No space left on device) (3)
Invalid query: SELECT SQL_CALC_FOUND_ROWS products.*, descr1.product as product, MIN(IF(prices.percentage_discount = 0, prices.price, prices.price - (prices.price * prices.percentage_discount)/100)) as price, companies.company as company_name, GROUP_CONCAT(IF(products_categories.link_type = 'M', CONCAT(products_categories.category_id, 'M'), products_categories.category_id)) as category_ids, products_categories.position, cscart_seo_names.name as seo_name FROM cscart_products as products LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'EN' 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') LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = products.product_id AND cscart_seo_names.type = 'p' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'EN' WHERE 1 AND (FIND_IN_SET(2 , products.localization)) AND (FIND_IN_SET(2 , cscart_categories.localization)) AND (companies.status = 'A' OR products.company_id = 0) 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 descr1.product asc


Backtrace:
File:/home/briersc/public_html/store/core/fn.database.php
Line:268
Function:db_error
File:/home/briersc/public_html/store/core/fn.database.php
Line:29
Function:db_query
File:/home/briersc/public_html/store/core/fn.catalog.php
Line:6383
Function:db_get_array
File:/home/briersc/public_html/store/addons/required_products/func.php
Line:31
Function:fn_get_products
File:/home/briersc/public_html/store/core/fn.control.php
Line:88
Function:fn_required_products_get_product_data_post
File:/home/briersc/public_html/store/core/fn.catalog.php
Line:204
Function:fn_set_hook
File:/home/briersc/public_html/store/controllers/customer/products.php
Line:65
Function:fn_get_product_data
File:/home/briersc/public_html/store/core/fn.control.php
Line:634
Function:include
File:/home/briersc/public_html/store/core/fn.control.php
Line:455
Function:fn_run_controller
File:/home/briersc/public_html/store/index.php
Line:22
Function:fn_dispatch