1
dollargenius
OS Commerce is a beautiful module - however

In banner, affiliate and order managers this:

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 '-20, 20' at line 1

select o.orders_id, o.customers_name, o.payment_method, o.date_purchased, o.last_modified, o.currency, o.currency_value, s.orders_status_name, ot.text as order_total from xoops_shop_orders o left join xoops_shop_orders_total ot on (o.orders_id = ot.orders_id), xoops_shop_orders_status s where o.orders_status = s.orders_status_id and s.language_id = '1' and ot.class = 'ot_total' order by o.orders_id DESC limit -20, 20

Is this syntax error due to the DB being empty, or must it be corrected.

If so, please also tell me W H E R E. I am illiterate in PHP page structure orwhatshummacalit.

Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Login

Who's Online

283 user(s) are online (233 user(s) are browsing Support Forums)


Members: 0


Guests: 283


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits