Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Specials Box, click on the arrow and you get error, help!


Recommended Posts

I've got a plain install of osCommerce, fairly recent version.


I added this to column_right.php:

include(DIR_WS_BOXES . 'specials.php');


And the specials box popped up with the items I had in discount (hooray!) click on the arrow to go see all of the specials and you get a giant error:


Warning: Division by zero in /path/to/me/public_html/includes/classes/split_page_results.php on line 59

Get Them While They're Hot! Get Them While They're Hot!

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 '-0, 0' 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 co_products p, co_products_description pd, co_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 -0, 0




I searched and didn't find any help, anyone else have any ideas?





Link to comment
Share on other sites


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

  • Create New...