I really shouldn't be asking this question after having spent a fair bit of time with Drupal, but still...

Now, I am the only user of my site and when I am logged in, I can see all the content I have added. When I switch to IE and try to view the site as an anonymous user, I am unable to see the content. I have all the necessary permissions for anonymous users correctly configured, so I don't understand what I am doing wrong.

My front page setting is to node and I have quite a few content items promoted to front page, but I can't see anything except the default Drupal message one sees on a fresh install. Everything is fine the moment I log in,though.

Would appreciate some advice on what I am missing here.

Sorry if it sounds rudimentary.

Comments

chx’s picture

Following your comment http://drupal.org/node/8054#comment-34996 I presume you have your roles correctly set up. Please use phpmyadmin and check the table node_access, it shall have one line (0, 'all', 1, 0, 0).

--
Drupal development: making the world better, one patch at a time. | A bedroom without a teddy is like a face without a smile.

venkat-rk’s picture

Thank you for responding.

I see the following fields in node_access:

nid
gid
realm
grant_view
grant_update
grant_delete

The default for all these fields is 0 except realm which doesn't carry any value

Not sure how to proceed further.

As for roles, I see admin user, anonymous user and authenticated user. I added admin permissions to myself after the install, so I have the permissions for both admin and authenticated user. Not really necessary since the person installing has all permissions, but I did it anyway.

rwohleb’s picture

I was having the same problem. Everything worked fine as long as I wasn't anonymous. I had forgotten to check the permissions added by the taxonomy_access module. The normal access controls were fine, but the category premissions were all messed up. Works great now.

venkat-rk’s picture

I wan't using taxonomy_access then, but, thanks for the insight as it will keep me alert when I do use it on some sites.

Brian@brianpuccio.net’s picture

If you have the permissions for anon users (as mentioned above) correct, maybe the content is set to "unpublished"?

korayal’s picture

i have the same problem too,
i'm getting the same "anonymous error page" whatever i tried.
-added one more row to "node_access" -> (0,0,'all',1,0,0)
-added one more row to the "users" -> nid = 0

---
btw while trying to solve the problem, i found out that the guy who mention about editing the "users" table, that table is in fact "users_roles",

so what we need to do is to add one more row to the table "users_roles" -> (nid,rid)->(0,1)