When I log out, all my blocks disappear

charmer - June 19, 2009 - 15:29

I've been scouring forums for almost two hours but to no avail so far.

I have a fresh installation of Drupal 6.12 installed from custom profile with a custom theme. I've downloaded several other themes for testing and also created several items to primary and secondary links. Everything was OK and after some toying I wanted to look at the web while logged out - then I saw all of the blocks gone, only logo and content of frontpage remained.

I've triple checked that the blocks are enabled, that the themes have default link blocks enabled (in global settings as well) and that all blocks have correct visibility settings (by default none role was selected which should mean no restrictions but I tried to check all roles as an alternative setting with the same effect - didn't work). I didn't find anything that would prevent blocks from appearing in admin/user/permissions - anonymous users can access and search content.

Then I disabled all testing themes and activated only bluemarine - still nothing, upon logout all blocks disappear. I even have another testbed installation on another server where everything is default, but even there items in primary links disappear upon logout while login block and Recent posts block remain...

This must be something mundane but I don't really know what else to check. Thanks in advance for hints.

all blocks including the

mtsanford - June 19, 2009 - 15:58

all blocks including the menus, login block, and search block?

all custom actually

charmer - June 22, 2009 - 07:40

Sorry to confuse, some of the themes I tested didn't have search blocks placed and I don't need login block to be displayed. But when I put them back for testing they do show up. All my custom menus - primary and secondary links I made by hand are those that disappear...

more info

himdel - June 23, 2009 - 15:26

Hey, the aforementioned blocks have status=1, custom=0, and BLOCK_NO_CACHE. Setting custom to 1 doesn't help either.

Problem solved...

charmer - June 24, 2009 - 14:32

...and yes it was stupid.

I was only testing the menus with empty Drupal and thus added internal paths node/add to menu items.
I didn't realize that if the menu has non-existent internal target it won't show up when you log out - which is obviously a feature.

Oh, well, let's this never happen to me or anyone else again...

 
 

Drupal is a registered trademark of Dries Buytaert.