I get this error when I view the page as an anyonomous user after I installed taxonomy access module

user warning: Unknown column 'FALSE' in 'where clause' query: SELECT t.* FROM term_node r INNER JOIN term_data t ON r.tid = t.tid INNER JOIN vocabulary v ON t.vid = v.vid WHERE (FALSE) AND r.nid = 23 ORDER BY v.weight, t.weight, t.name in /home/thevaluecircle/htdocs/dev/includes/database.mysql.inc on line 120.

Comments

keve’s picture

What is the SQL version that you use?

keve’s picture

Status: Active » Fixed

This was an error in mysql4.

Fix commited to 4.7 and cvs.

Instead of 'WHERE (FALSE)' in hook_db_rewrite_sql(), I put condition 'WHERE (t.tid IS NULL)'.

dreamrim2000’s picture

I am using SQL version 4 , I just downloaded the tax_access file and installed it today , what do i need to do to resolve this?

dreamrim2000’s picture

I am using drupal version 4.7.3

keve’s picture

I fixed the issue, download latest version, it should be: $id v 1.92.2.3 (for 4.7:).
Maybe tarball is updated only by tomorrow. but you can download new file directly from cvs or from repository.

Anonymous’s picture

Status: Fixed » Closed (fixed)