1016 - Can't open file: './eurotrex/categories.frm' (errno: 24)
select p.products_id, p.products_image from orders_products opa, orders_products opb, orders o, products p, categories c, products_to_categories p2c where c.categories_status='1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and opa.products_id = '1727' and opa.orders_id = opb.orders_id and opb.products_id != '1727' and opb.products_id = p.products_id and opb.orders_id = o.orders_id and p.products_status = '1' group by p.products_id order by o.date_purchased desc limit 4