when simple_access and tablemanager modules are enabled, the anonymous users view this error in the page:

"No table data available."

In the admin panel, the log say:

Unknown table 'n' in on clause query: SELECT tm.tid, tm.header, tmd.tid, tmd.data FROM tablemanager_data tmd INNER JOIN node_access na ON na.nid = n.nid INNER JOIN tablemanager tm ON tm.tid = tmd.tid WHERE (na.grant_view = 1 AND CONCAT(na.realm, na.gid) IN ('all0','simple_access0','simple_access2')) AND tmd.tid = '1' in /home/mhd-01/www.nomesito.it/htdocs/includes/database.mysql.inc nella riga 66.

Comments

pobster’s picture

pobster’s picture

I think I'm going to close this issue on my module as it's not specific to me (if my assumptions are correct! See the link I posted above!) Anyhow, if the authors of this module could add my tablemanager db lookups to always be allowed, I'll add an if (module_exist("simple_access")) clause in my display code. If your module does exist then I'll 'if' in whether the viewer has permissions for the node the table is displayed on? Which I erm, don't have a clue how to do... So perhaps maybe someone could help me out with that too ;o) :o)

Thanks

Pobster

jjeff’s picture

Response on #38898.

pobster’s picture

Assigned: itack » pobster
Status: Active » Fixed
pobster’s picture

Status: Fixed » Closed (fixed)