I have set up a view to display as a block. I have given anonymous users permissions to see the view, and the block. However, the block completely disappears for anonymous users. Any ideas?

Comments

yurg’s picture

Try to clear Views cache.

primalmedia’s picture

Anonymous users can see all the blocks except one. Logged in they can see the world, but without access thay can see nothing. Clearing the cache didn't help.

Anonymous’s picture

Same here for some reason, but i'm viewing it as a Page, not Block.

I wonder what i'm missing.

--
\/ushi - xushi.co.uk
/\ socialprotest.com

wolfraem’s picture

Are either of you using a controller module like Taxonomy Access Control? If so, check settings there.

Or, try deselecting all role types for the view so that it doesn't limit any viewer.

If that doesn't solve the problem and you haven't selected not to show the block to anon. users in the admin/build/blocks menu, check if you've got caching on in your system configurations. Turn that all the way off until you're done diagnosing the problem, as it has a tendency to gum up any kind of cache clearing/view troubleshooting.

primalmedia’s picture

I'm hitting this with everything I've got, and I can see all the views blocks except one. It also won't show up to anonymous users as a Page view either. I've cleared all the caches, re-indexed the site, and still cannot find an any answers....

yurg’s picture

1. Did you cleared Views cache or "cache" table in DB?
2. Did you looked in system logs?

goobermaster’s picture

I've cleared the cache database tables (all of them), caching is turning off under admin/performance. I don't think these are the issue.

In my case, it's the gallery block that doesn't show up. If you're not logged in anyway (anonymous). As soon as you log in it reappears. I have this block set as <none> in the block settings and haven't touched the view settings but have verified that no roles are selected (thereby letting all roles see the block).

I'm starting to tear my hair out over this. It used to work fine and now it doesn't. I can't recall any changes that could have effected this. (No new modules, no theme changes, etc.) All I've been doing is adding and editing content.

Please - anyone have any ideas?

tm’s picture

do you allow anonymous to view uploaded content?

stompy1208’s picture

After much tweeking and thinking, i found out a way that worked for me.

My banners were not showing up, and my search as well.

one must go to "Administer>User management> Access control" and allow more for "anonymous users."

check out http://www.hitechgadgetspro.com

Francesco Sottile’s picture

If you are using a custom content type this might be the solution:

Please take a look at

Administer > User Management > Permissions > content_permissions module

in here you should enable visibility to the anonymouse user for all additional fields you included in your content type (the one used by your view)

(in Drupal 6 by default additional fields created using CCK are not visible to anonymous user and/or authenticated users .. )

billl4’s picture

Thanks Francesco, that solution worked for me.