Needs review
Project:
Taxonomy assoc
Version:
4.6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Sep 2005 at 21:47 UTC
Updated:
2 Dec 2005 at 13:18 UTC
Jump to comment: Most recent file
Comments
Comment #1
poipoipoipio commentedFatal error: Call to undefined function: node_access_where_sql() in c:\Inetpub\wwwroot\php\lang\hu\modules\taxonomy_assoc\taxonomy_assoc.module on line 475
And if I rename
node_access_where_sql to _node_access_where_sql and
node_access_join_sql to _node_access_join_sql
in taxonomy_assoc.module,
i have a lot of mysql error:
user error: 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 'GROUP BY t.tid' at line 1
query: SELECT t.tid, COUNT(DISTINCT(n.nid)) AS c FROM ort_db_hu.term_node t INNER JOIN ort_db_hu.node n ON t.nid = n.nid WHERE n.status = 1 AND GROUP BY t.tid in c:\Inetpub\wwwroot\php\lang\hu\includes\database.mysql.inc on line 66.
Comment #2
dtabach commentedSorry if this info is irrelevant (I'm not a programmer), but it won't hurt:
Having exactly the same error, I realized that it occurs only if the selected input format has Taxonomy_assoc filter enabled.
Comment #3
egfrith commentedI've managed to fix this problem with a hack. I'm attaching the patch.
I'm sure there is a better way of doing this, but I don't know enough about drupal to implement it.
Comment #4
egfrith commented