Error writing file '/tmp/MYhOJ6gV' (Errcode: 28)
SELECT `categoryID`, `slug`, `parent`, IF(LENGTH(`name_en`), `name_en`, `name_ru`) AS name FROM SC_categories WHERE categoryID>1 AND `hidden`=0 AND `products_count`>0 ORDER BY sort_order, name