When a user doesn't have node admin privs and tries to xpoprt a docbook xml or look at a printer-friendly version I get this:
warning: pg_query(): Query failed: ERROR: relation "n" does not exist in /var/www/drupal-testing/includes/database.pgsql.inc on line 69.
user error:
query: SELECT b.parent FROM book b INNER JOIN node_access na ON na.nid = n.nid WHERE (na.grant_view = 1 AND CONCAT(na.realm, na.gid) IN ('all0','term_access2','term_access7')) AND b.nid = 59 in /var/www/drupal-testing/includes/database.pgsql.inc on line 86.
warning: Cannot modify header information - headers already sent by (output started at /var/www/drupal-testing/includes/common.inc:461) in /var/www/drupal-testing/includes/common.inc on line 157.
I am currnetly trying to get my head round finding where this query is generated.
Comments
Comment #1
keve commentedSee, http://drupal.org/node/53826