Use :
- drupal 5.1
- Server PHP 5
- MySQL 5.2

Admin account have no problem to loggin, created all the website structures, added modules ( category, IMCE, TinyMCE ), added category, container, page, story etc...

Admin and all created users can access everywhere.

Problem : Anonymous have a deny access to everywhere.
-Homepage is the " Welcome to your new Drupal website!" node
-When I use a container or category link, access is denied.
-When I want to access a page or story I created ( by using URL ), redirected to the " Welcome to your new Drupal website!" node

I already set Anonymous can access to " content" in the access list... is there anything else to do? what' s wrong with it ?

Thanks

Comments

PePiToO’s picture

i really don't know what to do with this big problem and my searches have no result...

VM’s picture

sounds like you added than removed an access module. see: http://drupal.org/node/64114 and run the necessary querries to reset your node_access table.

PePiToO’s picture

I followed your link and execute the querries step by step, but it is finally the same, :
-Welcome to drupal! when access
-Access deny if i click on a menu link ( which is a container or category. )

Anonymous still cannot access content ! It's been2 weeks nobody can access the website already -_-'

Is anyone have an idea ? The website is : www.srp-nc.com

VM’s picture

( which is a container or category. )

The above only comes with the contrib module called category.module unless anon users are given permission to use category.module then they will recieve access denied.

PePiToO’s picture

so how to manage this ?

VM’s picture

I don't use the contrib category.module however, if you want anonymous users to be able to create categories and containers, assign that user role the proper permissions in administer -> access control.

Not sure why you would want anon users to have this much control over the structure of your site, it can get messy very quick allowing users create containers and categories.

PePiToO’s picture

I just want anonymous to access the container, category and content, not to modify them !!!!
I enable the access content for anonymous, but it is still "access deny" if they click on one category .... check on the website : www.srp-nc.com
-In my menu, some links represent container or a category. If an anonymous click on it, it is "access deny"
-Same for articles.
-Even if an article has been promoted to the front page, anonymous still cannot see it ( still the first "welcome to drupal" message )

I am really lost, and look seriously for help

VM’s picture

what "other" modules are installed on your site ? that may effect access control ? are you using organic groups ? taxonomy access ?

Without being in your backend, its difficult to help beyond asking you many questions.

Maybe consider a reinstallation and set things up slower to see where your problem is occuring.

Sorry I couldn't be of more help, but I don't know what could be causing your problems at this point. I looked at your site, there is no way for anyone to register or login, so it didnt show me much. I understand you are getting the persistent welcome to Drupal Screen, typically this is because content not being publish to the front page, or because the node access table had been messed up.

PePiToO’s picture

The only people who will have to login are the administrator to change the content and create news, so i don't want anybody else to subscribe and manage it.

There are a few modules installed :
Taxonomy
Category
Views
Upload
TinyMCE and MCE
Localizer

No other modules installed... Do i have to install the taxonomy access ?

VM’s picture

no you don't have to install taxonomy access.module if you had it installed and not set up properly it could have had something to do with your problem. Obviously if you don't it can't be the cause.

category module comes with "many" modules in its folder. WHICH modules are enabled under the category module? I believe one of them are an access module.

again though, I personally think you should start over. so that you can better determine whats going on. your problem is most certainly related to something that has to do with access. Exactly what ? I have no clue.

PePiToO’s picture

I have the category control access lite installed, should i uninstall it ? how to configure it ?

If I have to start over, does it mean I will have to do all the content, category, container again ?

VM’s picture

dissblae the category access control module and see if your site returns to normal functionality. As I stated a few times, I don't use that specific module so I can't be sure where to set it up at. however, it seems to be the cause of your problems since it is access module related.

more documentation about the category module can be found on the developers website, which is http://category.greenash.net.au/, I believe. I am sure its in the readme.txt or install.txt. have you read over these documents ?

why did you install the category access control module if you aren't sure what it does ? you should only install modules you are sure you need.

In future .... when you list modules that you are running, list them all, not just the kind of module, but all modules that come with a specific module. It makes helping you much easier.

seaneffel’s picture

This worked for me. My anonymous users could not view page content, but could view all others. All other users had no issues. I saw that my access control grid was checked off as intended, so this link game me the solution: http://drupal.org/node/64114. All problems solved, thanks!

mrsocks’s picture

This worked for me, but dont forget to reset the TAC setting for the anon user.

PCanzona’s picture

Anonymous users could not see recent submissions, poll results or even access the "About Us" page. Reset the node access as instructed above and everything went back to normal. Thanks guys!

Pete

ericpugh’s picture

Thank you, everyone for this conversation.

Truncating and resetting the node_access table worked for me. I had the same type of issue. Basically, I had a site that already had content, but for some reason only the admin role could see the content that had been created after a certain date. (whenever the problem occured.) I was at the time struggling with using the community tags and tagedelic modules to create a free tagging taxonomy. I believe the problem had to do with the taxonomy access module. I uninstalled and deleted the table for taxonomy access(among other things), but the problem remained until following the instructions above. thanks all.

tqsenkungu’s picture

I had the same error until I made sure anonymous users was checked for the access content line of the node module. Hope it helps!

zorroposada’s picture

My site was full of content, all roles but anonymous role were able to see content. I played with access control but nothing helped. I then saw this post and followed the node_access instructions, they solved my problem.

I think this problem has some how to do with caching.

When I went to check my node_access table, I found that it was empty and was not optimized, it had 20kb of overhead. I am not sure if this is of any help.

Fortunately everything is fine now.

Thanks

druryjeff’s picture

I installed and uninstalled the Workflow module yesterday. Evidently I did it the wrong way. Any new content entered or edited since then has been unavailable to anonymous users. Following the instructions on this oft-sited page - http://drupal.org/node/64114 - using phpMyAdmin worked like a charm.

momentofchoice’s picture

I had this issue today and found that my "Category Access Control Lite" module had been enabled unintentionally. I disabled this and everyone now has access to content again.

Cronjobs’s picture

I see, you've solved the problem, but i did not found the solution here. i have the same problem.

heather’s picture

Usability dead forum post pruning

This forum is no longer actively used. Please do not post in this forum, it will help us to keep the usability issues clear. Thank you for your help!

Please search for an appropriate issue queue http://drupal.org/project/issues or related group on http://groups.drupal.org for help with your problem.

If this had been a suggestion for usability improvements, I would have added an issue and posted the link here.

This is a feature or support request or other not related to Drupal.org usability.

Good luck to you!

------------------------------------------------------------------
"Knowledgeable in Some Matters" http://nearlythere.com/