Access content denied for anonymous user

Categories:

Access content denied for anonymous user

I have come across this issue many times now. It started to appear in Drupal 5.x . The reason is not completely clear to me but some say that it has something to do with the tac_lite module. It seems that when you enable this module and then you disable it, it won't properly restore the node_access table in the database. It won't create the default node_access row. To fix it, just run the following query:

INSERT INTO node_access VALUES (0, 0, 'all', 1, 0, 0);

The symptoms for these problem are that all of a sudden the content (all nodes or some of them) can't be seem by anonymous users. If you check the Access control page, you will see that the permissions are fine but still the content is unavailable only for anonymous users.

More info here:
http://www.tech4him.com/content/drupal-access-denied-permission-are-corr...

Post new comment

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
12 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.