We have migrated to a new host.
However get below error on the product pages, which probably points out to MySql version error.
How can we make our 1.5.4 work with the latest MySql 5.7.24 (till we upgrade our websites)
Thanks
=================
[13-Nov-2018 01:52:20] PHP Fatal error: 1055:Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'xxx_xxx.o.date_purchased' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by :: select p.products_id, p.products_image
from zen_orders_products opa, zen_orders_products opb, zen_orders o, zen_products p
where opa.products_id = '6715'
and opa.orders_id = opb.orders_id
and opb.products_id != '6715'
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 6 ==> (as called by) /home//public_html/includes/modules/mytemplate/also_purchased_products.php on line 16 <== in /home/public_html/includes/classes/db/mysql/query_factory.php on line 155
Bookmarks