Database error: Got error 28 from storage engine (1030)
Invalid query: SELECT SQL_CALC_FOUND_ROWS products.product_id, products.company_id, companies.company as company_name, descr1.product as product, products.tracking, products.feature_comparison, products.zero_price_action, products.product_type, products.tax_ids, products.weight, GROUP_CONCAT(IF(products_categories.link_type = 'M', CONCAT(products_categories.category_id, 'M'), products_categories.category_id)) as category_ids, min_qty, max_qty, products.qty_step, products.list_qty_count, products.is_edp, avail_since, buy_in_advance, products.options_type, products.exceptions_type, companies.company as company_name, products.localization, products.product_code, products.amount, MIN(prices.price) as price, products.status, products.list_price, descr1.short_description, IF(descr1.short_description = '', descr1.full_description, '') as full_description, products_categories.position, sm_seo_names.name as seo_name, products.customer_default_width, products.customer_default_height, products.customer_min_width, products.customer_max_width, products.customer_min_height, products.customer_max_height, products.timestamp, products.customizable FROM sm_products as products LEFT JOIN sm_companies companies ON companies.company_id = products.company_id LEFT JOIN sm_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'DE' LEFT JOIN sm_product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 LEFT JOIN sm_product_prices as prices_2 ON prices.product_id = prices_2.product_id AND prices_2.lower_limit = 1 AND prices_2.price < prices.price AND prices_2.usergroup_id IN (0, 0, 1) INNER JOIN sm_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN sm_categories ON sm_categories.category_id = products_categories.category_id AND (sm_categories.usergroup_ids = '' OR FIND_IN_SET(0, sm_categories.usergroup_ids) OR FIND_IN_SET(1, sm_categories.usergroup_ids)) AND (products.usergroup_ids = '' OR FIND_IN_SET(0, products.usergroup_ids) OR FIND_IN_SET(1, products.usergroup_ids)) AND sm_categories.status IN ('A', 'H') AND products.status IN ('A') LEFT JOIN sm_seo_names ON sm_seo_names.object_id = products.product_id AND sm_seo_names.type = 'p' AND sm_seo_names.dispatch = '' AND sm_seo_names.lang_code = 'DE' LEFT JOIN sm_product_sales ON sm_product_sales.product_id = products.product_id AND sm_product_sales.category_id = products_categories.category_id WHERE 1 AND products.company_id = 0 AND sm_categories.category_id IN (225) AND (FIND_IN_SET(1 , products.localization)) AND (FIND_IN_SET(1 , sm_categories.localization)) AND prices.usergroup_id IN (0, 0, 1) AND prices_2.price IS NULL GROUP BY products.product_id ORDER BY products_categories.position asc LIMIT 0, 27


Backtrace:
File:/var/www/vhosts/chiccham.com/httpdocs/core/fn.database.php
Line:310
Function:db_error
File:/var/www/vhosts/chiccham.com/httpdocs/core/fn.database.php
Line:37
Function:db_query
File:/var/www/vhosts/chiccham.com/httpdocs/core/fn.catalog.php
Line:3507
Function:db_get_array
File:/var/www/vhosts/chiccham.com/httpdocs/controllers/customer/categories.php
Line:73
Function:fn_get_products
File:/var/www/vhosts/chiccham.com/httpdocs/core/fn.control.php
Line:576
Function:include
File:/var/www/vhosts/chiccham.com/httpdocs/core/fn.control.php
Line:431
Function:fn_run_controller
File:/var/www/vhosts/chiccham.com/httpdocs/index.php
Line:29
Function:fn_dispatch