So this is odd. Everything works great on my production server. But when I copy the db to a development environment, pages start throwing access denied to anonymous and all other users.
To fix, I have to go into the node_access table and set the node_access perms to "all" for the given node. Then to regain access, I have to visit the "dirty" url (i.e. /?q=node/4427)
Any ideas what could be going on?
Comments
Comment #1
Dave Cohen commentedSounds like you missed something when moving the data. devel_node_access module helps troubleshoot things like this. Enable the block it provides.
Comment #2
Steve Dondley commentedDave, yeah, I enabled the node_access output. It's not telling me anything useful except what I can already see in the node_access table and it's telling me that all users are denied access except for the uid 1 account.
The site on the devel server runs the same code base and the db is copied straight from the production server. I'm left scratching my head on this one. And it probably has nothing to do with TAC and is more of a core issue.
Comment #3
Steve Dondley commentedOK, now I'm getting somewhere. I had errors getting printed to logs. So an error is getting generated:
Parameter 1 to tac_lite_node_grants() expected to be a reference, value given in /var/www/includes/module.inc on line 483.
So the hook_node_grants function is not even getting called. Must have something to do with a difference in php versions.
Comment #4
Steve Dondley commentedOK, this is the issue: http://drupal.org/node/589322
Marking as dup and closing.
Comment #5
damienmckennaThank you for your contribution to this module. Support for Drupal 6 ended a decade ago, so I'm closing out this issue.