Closed (duplicate)
Project:
Ubercart Marketplace
Version:
5.x-1.0-beta4
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
15 Oct 2008 at 04:11 UTC
Updated:
15 Oct 2008 at 11:03 UTC
in mp_reports.module
search:
$sql_count = "SELECT COUNT(nid) FROM {node} WHERE node.uid = %d AND type IN (". implode(", ", $product_types) .")";
Replace with:
$sql_count = "SELECT COUNT(*) FROM {node} n WHERE n.uid = %d AND type IN (". implode(", ", $product_types) .")";
// The original sql causes this error: Unknown column 'node.uid' in 'where clause' query: SELECT COUNT(nid) FROM tbl_node WHERE node.uid = 1 AND type IN ('product')
We're working on buyout module + ubercart marketplace integration. :) So far it's great. Thanks to Tugrid.
Comments
Comment #1
kgp22 commentedOops duplicate post. Sorry.
Comment #2
Turgrid commentedDuplicate of #321433: Error in user/uid/selling/reports/product