Database error: Got error 28 from storage engine (1030)
Invalid query: SELECT SQL_CALC_FOUND_ROWS products.*, IF(products.isAddon = 1, CONCAT(descr1.product, " (Addon)"), descr1.product) AS product, MIN(prices.price) as price, prices_nonmember.price as price_nonmember, prices_member.price as price_member, descr1.short_description, IF(descr1.short_description = '', descr1.full_description, '') as full_description, 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, products.ac_Company_ID, products.product_location, ac_Company.CompanyCode, products.date_added 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_product_prices as prices_nonmember ON prices_nonmember.product_id = products.product_id AND prices_nonmember.usergroup_id = 0 LEFT JOIN cscart_product_prices as prices_member ON prices_member.product_id = products.product_id AND prices_member.usergroup_id = 5 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 ac_Company ON ac_Company.ID=products.ac_Company_ID WHERE 1 AND products.isAddon <> 1 AND products.hide_publically = 'N' AND products.membership_product = 'N' AND products.subscription_product = 'N' AND cscart_categories.category_id IN (200078) 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) AND products.hide_from_nav<>1 AND products.company_id = 0 GROUP BY products.product_id ORDER BY products.status, descr1.product asc LIMIT 0, 10


Backtrace:
File:/var/www/phoenix-live/core/fn.database.php
Line:259
Function:db_error
File:/var/www/phoenix-live/core/fn.database.php
Line:29
Function:db_query
File:/var/www/phoenix-live/core/fn.catalog.php
Line:3844
Function:db_get_array
File:/var/www/phoenix-live/controllers/customer/categories.php
Line:69
Function:fn_get_products
File:/var/www/phoenix-live/core/fn.control.php
Line:585
Function:include
File:/var/www/phoenix-live/core/fn.control.php
Line:437
Function:fn_run_controller
File:/var/www/phoenix-live/index.php
Line:37
Function:fn_dispatch