Anonymous Users Cannot Access Drupal Content

Saturday, June 28th, 2008 at 3:31 pm · 463 views




I quickly decided to repost this because the same thing happened with the recent upgrade. I made a post several hours ago before we left to take the kids over to their grandmother and aunt’s house then to the movies. I was logged out of the Drupal administration on this computer, went to missnexus.com and I could not see the post.

I actually still had this page: http://drupal.org/node/64114 opened in my browser.

If you have the problem on your Drupal site where anonymous users cannot access your content then here is the fix:

Open phpMyAdmin, go to the Drupal database, click on query and execute the following queries:

TRUNCATE node_access;

and

INSERT INTO node_access (nid, gid, realm, grant_view, grant_update, grant_delete) VALUES (0, 0, ‘all’, 1, 0, 0);

I originally posted this earlier in the week, but this is one of two posts that I lost in the upgrade. I ran the queries just now for a second time and the problem was fixed without any further issues. *whew*

Technorati Tags:

This entry was posted on Saturday, June 28th, 2008 at 3:31 pm and is filed under blog, nexus, site. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

4 Comments to “Anonymous Users Cannot Access Drupal Content”


  1. kenyob says:

    This is almost working for me however I am getting the following error.

    #1054 – Unknown column in ‘field list’

    Any idea what this may be?

  2. Jorge says:

    Thank You!!! I was about to go crazy!

    This solved the problem :)

Leave a Reply

(required)

(required)