Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SQL error 1064?


GunGraveAce

Recommended Posts

Posted

I am getting this error when everytime I delete a customer from the admin

Customers Search:

 

Last Name First Name Account Created Action

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 '-25, 25' 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 -25, 25

 

[TEP STOP]

 

It all happened yesterday when I delete an order invoice for a customer, and I click on the box where it says to restock the item. Then the same error occur in the order section, but this error goes away if I create a new account. But of course it comes back when I delete the account again. Anybody have experience this error before? Thankx

Archived

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

×
×
  • Create New...