Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SQL Error with in customer section of admin


Guest

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...