
Originally Posted by
strelitzia
ZC1.5.7c with the latest version of Products Pagination, I'm getting the following error log when trying to view Oder History page.
PHP Fatal error: 1064:You have an error in your SQL syntax; check
the manual that corresponds to your MySQL server version for the right
syntax to use near '' at line 1 :: SELECT count(*) AS total FROM
orders o, orders_total ot, orders_status s WHERE
o.customers_id = 2493 AND
o.orders_id = ot.orders_id AND ot.class =
'ot_total' AND s.orders_status_id =
(SELECT orders_status_id FROM orders_status_history
osh WHERE osh.orders_id = o.orders_id AND
osh.customer_notified >= 0 ==> (as called by)
/includes/classes/pp_split_page_results.php on line 122 <== in
/includes/classes/db/mysql/query_factory.php on line 170.
Looking at that query, it appears to be missing a closing parentheses from the second 'SELECT' query.
Can you replicate this?