hello...
I've been building a photo catalog and learning how Ubercart works along the way. I wanted to see more products on one page so I increased the number of products per page, I increased it to the number of products I had in the database not realizing it had to be a multiple of 3 because that is how many there are in a row. After I did this I began getting the error message below:
user warning: 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 SUM(op.qty) FROM uc_order_products AS op query: SELECT nd.nid, nd.title, (SELECT SUM(op.qty) FROM uc_order_products AS op WHERE op.nid = nd.nid) AS sold FROM node AS nd WHERE nd.type IN ("product","photos") ORDER BY sold DESC LIMIT 3 in /homepages/21/d195465313/htdocs/rob/includes/database.mysql.inc on line 172.
I tried moving it back to 12 products per page but the error remained, I also tried making it 33 but got the same result. This error comes up on every page, even Drupal admin pages. I've searched to see if I can find an answer to this but none of the error messages I see are close to this one. I am completely at a loss, any ideas?
Any suggestions are welcome, thanks in advance for your help.
Don




Joined: 01/28/2008