Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SQL errors :-(


Guest

Recommended Posts

Posted

:'( Please help...

 

My installation is doing something like this to me:

 

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

select newsletters_id, title, length(content) as content_length, module, date_added, date_sent, status, locked from newsletters order by date_added desc limit -10, 10

 

 

I used installation from TemplateMonster. Do you have any idea, what's wrong?

 

:(

Posted
:'( Please help...

 

My installation is doing something like this to me:

 

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

select newsletters_id, title, length(content) as content_length, module, date_added, date_sent, status, locked from newsletters order by date_added desc limit -10, 10

I used installation from TemplateMonster. Do you have any idea, what's wrong?

 

:(

 

 

This is caused by a bug in osCommerce. I've come across a couple of posts refering to line "limit -10, 10" but can't find the correct one now.

 

Try this, if it doesn't work try some searches. Otherwise come back, I know there are a few people here who will be able to put their finger right on it.

 

http://www.oscommerce.com/forums/index.php?sho...mp;#entry697026

Just between us, remember there are only 10 kinds of people in the world; those who understand binary and those who don't!!

 

Remember, learning is a "do-it-yourself" experience; although, not necessarily a "do-it-BY-yourself" experience.

 

The quickest way to learn is to forget to BACKUP!

Archived

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

×
×
  • Create New...