Re: Migrating to MySQL 5
Posted by: HL Kitz
Date: May 03, 2005 01:40PM

hi...

My web hosting service recently upgraded php and mysql... well, now when I go into my admin page to access orders in my shopping cart, I get the following 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 '-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 orders o left join orders_total ot on (o.orders_id = ot.orders_id), orders_status s where o.orders_status = s.orders_status_id and s.language_id = '1' and s.orders_status_id = '1' and ot.class = 'ot_total' order by o.orders_id DESC limit -20, 20
_______________________________________________________________________

I cannot for the life of me figure out what they are talking about... can someone help me out here???

Options: ReplyQuote


Subject
Written By
Posted
January 27, 2005 12:03AM
March 17, 2005 01:29AM
March 17, 2005 02:23AM
April 06, 2005 03:55AM
April 11, 2005 09:13AM
April 13, 2005 07:03AM
May 15, 2005 10:24PM
May 18, 2005 05:48AM
Re: Migrating to MySQL 5
May 03, 2005 01:40PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.