Running Zen Cart 1.3.8a
Database Patch Level: 1.3.8
PHP 4.4.9

From the Admin page, in Tool->Layout Boxes Controller, I have "sideboxes/whats_new.php" turned OFF

From Configuration->New Listing, I have "Mask Upcoming Products from being include as New Products" set to 1.

The "New Products..." link in my Categories sidebox results in a SQL error. I expected a page with no new products displayed.

This can be seen at http://chessieshop.tracefork.com/

Is this a bug, or am I configured illegally?
Any help would be appreciated. I would be satisfied with hiding the "New Products..." link in the Categories sidebox.
Lars


The sql error is:

"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 11
in:
[SELECT p.products_id, p.products_type, pd.products_name, p.products_image, p.products_price, p.products_tax_class_id, p.products_date_added, m.manufacturers_name, p.products_model, p.products_quantity, p.products_weight, p.product_is_call, p.product_is_always_free_shipping, p.products_qty_box_status, p.master_categories_id FROM products p LEFT JOIN manufacturers m ON (p.manufacturers_id = m.manufacturers_id), products_description pd WHERE p.products_status = 1 AND p.products_id = pd.products_id AND pd.language_id = 1 and (p.products_date_available <=20080925 or p.products_date_available IS NULL) order by p.products_date_added DESC, pd.products_name limit -0, 0]"