Disk full (/var/tmp/#sql_4b7e_5); waiting for someone to free some space... (1021)
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, IF(shared_descr.product_id IS NOT NULL, shared_descr.skroutz_xml, products.skroutz_xml) as skroutz_xml, IF(shared_descr.product_id IS NOT NULL, shared_descr.bestprice_xml, products.bestprice_xml) as bestprice_xml, IF(shared_descr.product_id IS NOT NULL, shared_descr.shopflix_xml, products.shopflix_xml) as shopflix_xml, cscart_product_review_prepared_data.average_rating average_rating, cscart_product_review_prepared_data.reviews_count product_reviews_count FROM cscart_products as products LEFT JOIN cscart_product_features_values as var_val_4 ON var_val_4.product_id = products.product_id AND var_val_4.lang_code = 'el' AND var_val_4.feature_id = 4 LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'el' 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 = 'el' LEFT JOIN cscart_product_review_prepared_data ON cscart_product_review_prepared_data.product_id = products.product_id AND cscart_product_review_prepared_data.storefront_id = 0 WHERE 1 AND (var_val_4.variant_id IN (450)) AND cscart_categories.category_id IN (301) AND cscart_categories.company_id = 1 AND (products.amount > 0 OR products.tracking = 'D') 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 product_id ORDER BY products.timestamp desc, products.product_id ASC LIMIT 0, 54
app/Tygh/Database/Connection.php, line: 1540
File: | app/Tygh/Database/Connection.php |
Line: | 690 |
Function: | throwError |
File: | app/Tygh/Database/Connection.php |
Line: | 307 |
Function: | query |
File: | app/functions/fn.database.php |
Line: | 35 |
Function: | getArray |
File: | app/functions/fn.products.php |
Line: | 2240 |
Function: | db_get_array |
File: | app/functions/fn.products.php |
Line: | 2323 |
Function: | {closure} |
File: | app/controllers/frontend/categories.php |
Line: | 114 |
Function: | fn_get_products |
File: | app/functions/fn.control.php |
Line: | 685 |
Function: | include |
File: | app/functions/fn.control.php |
Line: | 434 |
Function: | fn_run_controller |
File: | index.php |
Line: | 25 |
Function: | fn_dispatch |