I am setting up an item to have multiple images and came across a really odd error.

You'll notice how the actual error fields are blank it just lists 2 SQL queries that both work fine when inserted into phpMyAdmin.

----------
in:
[select p.products_id, p.products_image from orders_products opa, orders_products opb, orders o, products p where opa.products_id = '94' and opa.orders_id = opb.orders_id and opb.products_id != '94' 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]

in:
[select count(*) as total from sessions where sesskey = '4c2f41f1aecd3037ac5f24e1414cf86d']
----------

... there has been no changes to the tpl_modules_additional_images.php or additional_images.php

Here is the link, any ideas?
http://newmediadenver.com/~cpartyre/...products_id=94