Jump to content

System Error Log


fldavidallsop

Recommended Posts

I am running a CC v5.2.16 and my system error log database table is filling up with the following entry, any ideas on how to stop this?

File: [gui.class.php] Line: [1073] "SELECT `product_id`,`description`,`name`, `price`-`sale_price` AS `saving` FROM `ve_CubeCart_inventory` WHERE `price` > `sale_price` AND `sale_price` > 0 AND `status` = '1'  LIMIT  " - 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 '' at line 1
Link to comment
Share on other sites

The LIMIT clause comes from this part of line 1073 in /classes/gui.class.php:

... LIMIT '.$GLOBALS['config']->get('config', 'catalogue_sale_items')

The configuration setting for this is found in admin, Store Settings, Features tab, "Number of sale items to display". The value for this setting must be an integer greater than zero.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...