Hi.
I get this error message when 'Refine By Taxonomy' running, and when a taxonomy term is called that is part of a vocab that is set to appear in a 'Refine by term' block.
user warning: Unknown table 'n' in on clause query: SELECT DISTINCT tn.tid FROM term_node tn INNER JOIN term_data td ON td.tid = tn.tid INNER JOIN node_access na ON na.nid = n.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 1 AND na.realm = 'liquid_access') OR (na.gid = 2 AND na.realm = 'liquid_access'))) AND ( (tn.nid IN (1)) AND (td.vid = 1) AND NOT (tn.tid IN (1) )) in /home/18098/domains/wrankr.com/html/includes/database.mysql.inc on line 172.
Other modules: Voting API, Liquid.
The install is fresh, as is the database.
Any ideas of how to fix it?
Thanks!
Tim
Comments
Comment #1
Bèr Kessels commentedduplicate. This is a bug in some access module wich rewrites the SQL wrong.
Comment #2
oldmanpants commentedSorry about the redundancy. Found this.
Comment #3
Bèr Kessels commentedThis bug was reported earlier. PLease add your info to the other issue. (please search before posting)
Comment #4
syncopated commentedWhere's the duplicate? I only see two support requests for this module, and the other one is not about this problem. BTW, I'm getting the problem, too, and I'm wondering whether this module is still being developed and supported since it hasn't been been updated or upgraded from 'dev' for months.
Comment #5
syncopated commentedI just saw the other issue, filed as a bug. Didn't see it earlier because I was looking at support requests.
Comment #6
JHeffner commentedTook me a bit to find .. duplicate is here http://drupal.org/node/122570