Closed (fixed)
Project:
jQ Theme
Version:
6.x-1.0-beta1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Mar 2010 at 11:05 UTC
Updated:
1 Apr 2010 at 06:40 UTC
I've specified an table prefix for my drupal tables and the query in the template.php does not use this.
Comments
Comment #1
XiaN Vizjereij commentedComment #2
XiaN Vizjereij commentedAnd shouldn't db_query_range be used for limit queries?
Comment #3
zyxware commentedI have fixed this issue in the latest dev version. Can you please try downloading that and check again.
Thanks
Dileep Kumar
Comment #4
XiaN Vizjereij commentedIn template.php
37 $sql="SELECT node.nid AS nid,
38 node.title AS node_title,
39 node_revisions.body AS node_revisions_body,
40 node_revisions.format AS node_revisions_format,
41 node.created AS node_created
42 FROM {node}
43 LEFT JOIN {node_revisions} node_revisions ON node.vid = node_revisions.vid
44 ORDER BY node_created DESC ";
42 FROM {node}
should be
42 FROM {node} node
Else you get "node.nid unknown" errors.
Comment #5
zyxware commentedI have made the relevant changes in the dev version again. Can you please let me know if you see any other issue.
Comment #6
zyxware commentedI have fixed this issue in the latest dev version. Can you please try downloading that and check again.
Thanks
Dileep Kumar