Warning: mysql_query() [function.mysql-query]: Unable to save result set in /home/bambudbr/www.bambuspflanzen.de/shop/inc/xtc_db_query.inc.php on line 32
126 - Incorrect key file for table './usrdb_bambudbr_bizshop/products_to_categories.MYI'; try to repair it

select count(*) as total from products p, products_to_categories p2c where p.products_id = p2c.products_id AND p.group_permission_1=1 and p.products_status = '1' and (p.products_date_available IS UNKNOWN OR p.products_date_available < '2019-12-13 18:28:48') and p2c.categories_id = '105' and ((p.products_quantity > 0 and p.products_anzahl_vpe = 1) OR (p.products_anzahl_vpe > 0 and (select x.products_quantity from products x where substr(p.products_model,2,8) = substr(x.products_model, 2) and x.products_anzahl_vpe = 1 limit 1) > 0)) limit 1

[XT SQL Error]