Hi,
i have a problem: the home page of a site I'm developing is no longer accessible by a anonymous user.
Yes, the "access content" for anonymous user is checked :-).
node/1 (which is set to be the home page) is published and accessible by the admin user (the only user of this setup).
I have tried disabling all non core modules (in case one of those was creating a problem) but it didn't help.
I have tried disabling all non core themes (in case one of those was creating a problem) but it didn't help either.
I have installed "Devel node access" and it confirms that node/1 does not have access permissions for anonymous.
There are no access rules setup.
With all non core modules disabled the only permission that anonymous has is "access content".
This is using Drupal 6.10 with all modules updated.
How do i find out what is causing this "Access denied"? I'm looking for something that can tell me access is denied because of this rule or something like that.
Of corse if you have some idea of other tests i could run and things i could try to determine what's going on that would also be appreciated.
Thank you.

Comments

justageek’s picture

Is it a Page, Blog post, what?

marcobat’s picture

is a page

gbrussel’s picture

You should rebuild permissions for your site.

marcobat’s picture

That did it!
Thanks.

Annakan’s picture

I SO SUBSCRIBE to the idea of having in the error log a complete explanation of WHY and WHICH MODULE denied permission.

It would turn what is currently basically a witch hunt with no clue to a simple process.

The complexity of drupal access permission and the subtle interaction between modules can turn an access denied into a VERY time consuming process... very very very....

Plus the strategy or ORing permission is really counterintuitive and makes for a lot of redundancy between access rules ....

Ok I am ranting but I am currently debuging a simple 4 states workflow and it is a nightmare because Drupal is not telling me WHY he takes some decisions .....

I looked around the site to see some helper tool or strategy but to no avail. The Devel access module seems to check for something else (disjunction between current and what should be in the node access table).
(And Node Access is telling me something I already know : My test user role can't access the page but WHY ?)

niccottrell’s picture

Did you find any good solution to debug node permission access? I'm running a big Drupal 6.x site and some nodes which used to correctly be denied to anonymous visitors are not being granted, and nodes which used to be editable by a certain role no longer are. It's driving me crazy!