Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Database corupt?


chalkie

Recommended Posts

On a new install I deleted all the samples and started anew. I deleted all the sample manufacturers and now I've got an error -

 

 

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

 

select manufacturers_id, manufacturers_name, manufacturers_image, date_added, last_modified from manufacturers order by manufacturers_name limit -20, 20

 

Do I need to start with a new sample database or can this be fixed?

Link to comment
Share on other sites

On a new install I deleted all the samples and started anew. I deleted all the sample manufacturers and now I've got an error -

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

 

select manufacturers_id, manufacturers_name, manufacturers_image, date_added, last_modified from manufacturers order by manufacturers_name limit -20, 20 

 

Do I need to start with a new sample database or can this be fixed?

 

Not a corruption - rather a code problem

 

read this for a solution

 

http://www.oscommerce.com/forums/index.php?showtopic=144095

 

Charles

A kite flies highest AGAINST the wind !

 

"Life should NOT be a journey to the grave with the intention of arriving safely in an attractive and well preserved body, but rather to skid in sideways, a lover in one hand, martini in the other, body thoroughly used up, totally worn out and screaming ~ WOO HOO!! What a ride!"

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...