Jump to content

Rebuild & Recount Problem


craigfh
 Share

Recommended Posts

I am having problems with the REbuild Category Product Count with Cube Cart Version 4.1.1

Running PHP Version: 4.2.6

MySql Version: 4.0.27-standard

When I run "Rebuild category product count" I get the following error.

MySQL Error Occured

Error Message:

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 'SELECT DISTINCT productId FROM CubeCart_inventory WHERE disable

SQL:

DELETE FROM CubeCart_cats_idx WHERE productId NOT IN (SELECT DISTINCT productId FROM CubeCart_inventory WHERE disabled = '0')

Is there any way to fix this?

Thanks

Craig

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.

 Share

×
×
  • Create New...