After successful setup, settings of access permissions, etc., site was working fine--new setup welcome message was replaced with first post. However, next day, setup welcome message was back.

Access control for node module is enabled for anonymous users. All other permissions have been reviewed with no known conflicts. Default node is "node". Clean URLs are enabled.

CommentFileSizeAuthor
#3 frontpagemessageremoval.diff865 bytesdeekayen
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

djsparks’s picture

Category: support » bug

This issue seems to be a bug instead of a single incident. After looking at virtually every post on the support forums that seemed to apply to this issue, I was unable to find a solution. Upon uninstall and new install, problem disappeared--for now. No known solution to the problem; in fact, no idea what the actual cause of the problem is. However, this is not an isolated incident.

No, the node_privacy_by_role module was not installed or in use.

Bèr Kessels’s picture

Priority: Critical » Normal

please give us some more details:
What third party modules do you use?
What errors and messages do you se in the watchdog?
Do you have a backup system that might flush the database?

Marking this "normal", for critical should be read as "critical for Drupal", and not as "critical for me"

deekayen’s picture

FileSize
865 bytes

Perhaps the attached patch will solve of some confusion. You could have 100 nodes in the db, and if none of them are promoted to the front page, you get the welcome message. This patch would say 'No content is currently promoted to the front page.' instead of acting like it's a fresh install. Diff'ed against HEAD.

hunmonk’s picture

just some more details about this bug. i'm having a very similar problem where in certain cases, w/ the taxonomy access module installed, the welcome page magically reappears. i've traced it as far as knowing that the pager_query call in node_page_default() (which is in node.module) is getting screwed up when taxonomy access is installed. looks like it's returning twice the number of promoted nodes as there really are when it sends the query to get the COUNT. the pager then includes links to more pages than there really are, and when you try to go past the end, then you get the welcome message. i'll post this as a bug in taxonomy access module as well...

Dries’s picture

Status: Needs review » Closed (fixed)

Won't fix. chx has a better patch in the pipeline too. IIRC, the behavior is also documented in INSTALL.txt.

paul-at-murphymaphia.com’s picture

Version: 4.6.0 » 4.6.3
Status: Closed (fixed) » Active

This is an active bug and not a "feature". I have created new content, promoted it to home page, etc. All the admin settings (slogan, mission, etc) have been filled in. The Default page is "node". Anonymous users have access to view nodes, content, comments, etc...
And yet... the welcome screen persists for anonymous users.

Is this really by design? I can't believe that it is. I say, active bug.

Mateo’s picture

I'm having the exact same problem on one of my sites. I'm running multi-site, and onthe one site that USED to be 4.5.2 the "welcome to drupal...." appears for anonymous users only. It also does not show any posts, etc. It's almost as though the anonymous users cannot access nodes, SQL queries, etc. Regular users can see everything, which is why it took me so long to realize this problem existed.

All of my permissions are identical between sites (anon users can view nodes, etc) so I'm thinking this has something to do with the SQL tables and not the code.

chx’s picture

Status: Active » Closed (duplicate)

http://drupal.org/node/18340

OK I'll work on it. Stay tuned.