Stories and pages not visible in anonymous

chatlumo - October 8, 2007 - 19:28

Hi,

I installed and configured Drupal. I created some test content (pages and stories).

For now, my articles (published in homepage) are visibles only if i'm log in.
If i am in anonymous, i have the classic message after installation ("Welcome on Drupal...") to invite me ta create content.

I verified "access control", "node module" is activate for anonymous for "content access".

Do you know where is the problem ?

Thanks.

Did you configure the

JoepH - October 8, 2007 - 20:07

Did you configure the Default front page on admin/settings/site-information?

Just navigate to node and you will the promoted to front pages.

-----------------------------------------
Joep
CompuBase, Drupal websites and design

Yes but i have access

chatlumo - October 8, 2007 - 20:14

Yes but i have access refused (in anonymous), see this example :
http://www.epaper-france.com/contenu/papier-electronique

(no title)

cog.rusty - October 8, 2007 - 22:18

In /admin/content/node check if your nodes are "Published" and "Promoted to front page".

If this was the problem, then "Publish" and "Promote" them and then go to /admin/content/types to set up how new created nodes of different types should behave in the future.

If this is not the problem, have you installed any additional access control modules?

I do everything but it

chatlumo - October 8, 2007 - 23:15

I do everything but it doesn't work.
The just thing that i made was to install "Liquid Wiki engine" (http://drupal.org/project/liquid) module then uninstall it.

(no title)

cog.rusty - October 9, 2007 - 00:12

Liquid Wiki does include a liquid_access module which writes in the node_access table and sets restrictions.

Put the liquid wiki module back to the modules directory. Don't enable it.
Then go to /admin/build/modules, to the "Unistall" tab at the top of the page.
If you find any entry there uninstall it.

Then go to /admin/content/node-settings and if a "Rebuild permissions" button appears then click on it.

Then check again. If that fails, it may have to be corrected in the database.

Ok thanks, i put le module

chatlumo - October 9, 2007 - 01:04

Ok thanks, i put le module back but there is nothing to uninstall.
So, in /admin/content/node-settings i have not a "Rebuild permissions" button.

Do you know how to correct the database ?

Thanks.

I used : <?php 

chatlumo - October 9, 2007 - 01:12

I used :

<?php
  node_access_rebuild
();
?>

And it's working !

Thanks.

(no title)

cog.rusty - October 9, 2007 - 01:34

Nice, I didn't know that function.

I was about to suggest to empty the node_access table and then to add only the one line which system.install inserts initially. But the function seems to do this more safely.

http://api.drupal.org/api/function/node_access_rebuild/5

 
 

Drupal is a registered trademark of Dries Buytaert.