Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Error with Special offer page


boysss

Recommended Posts

Posted

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

select p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from products p, products_description pd, specials s where p.products_status = '1' and s.products_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '1' and s.status = '1' order by s.specials_date_added DESC limit -6, 6

[TEP STOP]

 

this is what I get when click on special of my friend's web site (I am helping him on the site). I remmeber it was working fine until my friend deleted all products and added a few new ones. I do not want to install a fresh oscommerce and redo everything I have done to the site. If you had this problem and solved it, please post the solution here so that I and others who would have the same problem can find helps. Thank you so much

Posted

here's the solution, best to apply admin and catalog fixes.

 

http://blogs.oscommerce.com/christian_lesc...owentry&eid=362

KEEP CALM AND CARRY ON

I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support).

So if you are still here ? What are you waiting for ?!

 

Find the most frequent unique errors to fix:

grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt

Archived

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

×
×
  • Create New...