Guest Posted October 20, 2005 Share Posted October 20, 2005 I just did a clean install of osC and was setting up my new store. I deleted the default customer 'john doe', and suddenly got this SQL error in the customers section of my admin: 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 c.customers_id, c.customers_lastname, c.customers_firstname, c.customers_email_address, a.entry_country_id from customers c left join address_book a on c.customers_id = a.customers_id and c.customers_default_address_id = a.address_book_id order by c.customers_lastname, c.customers_firstname limit -20, 20 [TEP STOP] Any idea's how to fix this? Thanks! [edit] And I went ahead and registered at my own site and it seemed to fix everything in the admin, now me (the only customer) shows up perfectly. Strange. [/edit] Link to comment Share on other sites More sharing options...
kgt Posted October 20, 2005 Share Posted October 20, 2005 This is a common problem when the tables are empty. See the following bug report. A fix is at the very bottom (last comment). http://www.oscommerce.com/community/bugs,1605 Contributions Discount Coupon Codes Donations Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.