I think that maybe my installation is hosed :( When trying to get a list of products (www.minimism.com/product) I see an empty page, but there's an error logged:
user error: You have an error in your SQL syntax near 'n.status = 1 ORDER BY n.sticky DESC, n.created DESC LIMIT 0, 15' at line 1 query: SELECT n.nid FROM node n INNER JOIN node_access na ON (na.nid = 0 OR na.nid = n.nid) INNER JOIN ec_product p ON n.nid = p.nid WHERE na.grant_view = 1 AND CONCAT(na.realm, na.gid) IN ('all0') n.status = 1 ORDER BY n.sticky DESC, n.created DESC LIMIT 0, 15 in /usr/local/psa/home/vhosts/minimism.com/httpdocs/includes/database.mysql.inc on line 125.
I have a couple of products added, so I would expect this page to have *some* content! Also I noticed that there is no 'access products' permission-setting for my users (referenced in another (closed) bug report)
Comments
Comment #1
minimism commentedOk, I've done a little more searching and found that the query actually exists in product.module - in the "theme_product_view_collection()" function it would seem...
... does this make sense to anyone? It'd probably take me a long while to get my head around the code, so this is one for some knowledgeable person!
Comment #2
jasonwhat commentedhaving same problem with latest CVS and getting this error. Everything is fine otherwise, just no pages on product listing page.
Comment #3
(not verified) commentedSame issue here. I cannot get products to show up and receive the same SQL error message.
Comment #4
matt westgate commentedThis is fixed now. Thanks.
Comment #5
(not verified) commented