1104 - The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET SQL_MAX_JOIN_SIZE=# if the SELECT is okay

select p.products_id, p.products_price, p.products_image from orders_products opa, orders_products opb, customers ca, customers cb, orders o, products p where opa.products_id = '124' and ca.customers_id = cb.customers_id and opb.products_id != '124' 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 3