Closed (fixed)
Project:
Ubercart
Version:
5.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2008 at 21:09 UTC
Updated:
3 Nov 2008 at 21:12 UTC
When I tried to view the product sales report, it has an error like this:
user warning: Unknown column 'node.uid' in 'where clause' query: SELECT COUNT(nid) FROM tbl_node WHERE node.uid = 3 AND type IN ('product') in /home/ctestneb/public_html/nemtree/includes/database.mysql.inc on line 172.
In the watchdog logs:
Unknown column 'node.uid' in 'where clause' query: SELECT COUNT(nid) FROM tbl_node WHERE node.uid = 3 AND type IN ('product') in /home/ctestneb/public_html/nemtree/includes/database.mysql.inc on line 172.
Let me know what causes the problem, thanks.
Comments
Comment #1
rszrama commentedThis looks like an issue w/ table prefixing. However, that query is no longer in 1.5 apparently, so the solution is to update to the latest version of UC. This must have been fixed but not recorded here.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.