Wednesday, July 22, 2009

Drupal Anonymous user access denied for view

  • First, enter the following query :

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

    Ignore any error shown.

  • Next, enter the following query:

    update node n set status=1 where nid in (x);


    where x contains all the newly created node is ex: 1,2
  • No comments: