Message

Can't create/write to file '/tmp/#sql_19e0_0.MYD' (Errcode: 28) (1)

SELECT SQL_CALC_FOUND_ROWS products.*, IF(shared_descr.product_id IS NOT NULL, shared_descr.product, descr1.product) as product, IF(shared_prices.product_id IS NOT NULL,MIN(IF(shared_prices.percentage_discount = 0, shared_prices.price, shared_prices.price - (shared_prices.price * shared_prices.percentage_discount)/100)),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, IF(shared_descr.product_id IS NOT NULL, shared_descr.short_description, descr1.short_description) as short_description, IF(shared_descr.product_id IS NOT NULL, IF(shared_descr.short_description = '', shared_descr.full_description, ''), IF(descr1.short_description = '', descr1.full_description, '')) as full_description, IF(shared_descr.product_id IS NOT NULL, shared_descr.meta_keywords, descr1.meta_keywords) as meta_keywords, IF(shared_descr.product_id IS NOT NULL, shared_descr.meta_description, descr1.meta_description) as meta_description, IF(shared_descr.product_id IS NOT NULL, shared_descr.search_words, descr1.search_words) as search_words, IF(shared_descr.product_id IS NOT NULL, shared_descr.promo_text, descr1.promo_text) as promo_text, cscart_seo_names.name as seo_name, cscart_seo_names.path as seo_path 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 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') INNER JOIN cscart_products_categories as products_categories_filter ON products_categories_filter.product_id = products.product_id INNER JOIN cscart_categories AS categories_filter ON categories_filter.category_id = products_categories_filter.category_id AND (categories_filter.usergroup_ids = '' OR FIND_IN_SET(0, categories_filter.usergroup_ids) OR FIND_IN_SET(1, categories_filter.usergroup_ids)) AND categories_filter.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 = 'en' LEFT JOIN cscart_ult_product_prices as shared_prices ON shared_prices.product_id = products.product_id AND shared_prices.lower_limit = 1 AND shared_prices.usergroup_id IN (0, 0, 1) AND shared_prices.company_id = 1 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' AND ( cscart_seo_names.company_id = 1 OR cscart_seo_names.company_id = 0) WHERE 1 AND categories_filter.category_id IN (1, 10, 86, 100, 98, 99, 87, 101, 102, 88, 103, 104, 105, 89, 90, 91, 92, 93, 94, 95, 96, 97, 106, 107, 11, 80, 81, 82, 83, 84, 85, 124, 169, 170, 175, 176, 177, 128, 129, 133, 134, 135, 136, 137, 130, 138, 139, 140, 141, 142, 143, 144, 131, 146, 148, 149, 150, 151, 132, 152, 153, 154, 155, 156, 157, 158, 159, 8, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 9, 160, 161, 162, 163, 164, 165, 166, 167) AND cscart_categories.company_id = 1 AND categories_filter.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) GROUP BY products.product_id ORDER BY products_categories.position asc LIMIT 0, 64

Error at

app/Tygh/Database.php, line: 677

Backtrace

File:app/Tygh/Database.php
Line:333
Function:_error
File:app/Tygh/Database.php
Line:111
Function:query
File:app/functions/fn.database.php
Line:29
Function:getArray
File:app/functions/fn.catalog.php
Line:7474
Function:db_get_array
File:app/controllers/frontend/categories.php
Line:108
Function:fn_get_products
File:app/functions/fn.control.php
Line:587
Function:include
File:app/functions/fn.control.php
Line:370
Function:fn_run_controller
File:index.php
Line:25
Function:fn_dispatch