I am creating a team page where I want to link to the user profile and allow non-logged users to access the user profile. I can access the profile pages with any authenticated user profile but not when I am not logged in.

The site is - www.gmslegal.com.au
The link is in the Welcome menu called - Meet the team http://gmslegal.com.au/?q=node/23

When clicking on Meet the team the node page appears which has an intro to the team member and a link to their Drupal profile, for example, http://gmslegal.com.au/?q=user/5 to the profile gives me a Page not Found error.

Access user profiles in the user module access control is checked for all user types but the other options in that block are are off.

Thanks in advance

Comments

vm’s picture

to make your situation even odder, i can view your first user profile as anonymous http://gmslegal.com.au/?q=user/1

seems you have some module interference somewhere. some links are showing with www, some arent. some liknks after clicking on printer friendly are showing using clean urls while other parts of the site are showing non clean urls.

.... still investigating.

robwales02’s picture

Another comment here is that user/2 can also be seen as anonymous. Let me know if you want any more info

vm’s picture

I don't have a suggestion for you. If it were me. I'd work backwards on a new test site to see where things get throw out of whack. On a fresh install does the snippet work ? The permissions you've listed are fine for profile access. Besides you wouldnt get a "page not found" you would be an "access denied error". I don't see any other threads like your with discussion this this sort of problem.

adjusting your base_url ? fixes all these issues ? or just a specific one ?

what if one of those users accept their invite ? do the links than work ?

To test this I'd create another user on the same level as the others, accept the invite, add this user to your list, and see if its because the profile isnt released to public until invite is accepted. This seems to make sense to me.

ron williams’s picture

I am able to find user id 1 and 2 to work, however user id 5 does not display. Is there a user id 5?

Ron Williams
http://ronwilliams.io/

robwales02’s picture

User 1 is my admin account, user 2 is a user called staff who has rolse of both admin and staff. Users 5 to 12 are accounts for the firm's staff that I also created and invited each to accept the membership. These accounts are Active and attached to the Role called staff.

To date the individual accounts have not responded to the invitation but I can open their profile page when logged in as either user 1 or 2.

robwales02’s picture

User 11 has now validated their membership and can be seen by non-logged in users. So it seems that Drupal plocks anonymous user access to the user profiles until the user has validated their profile. Makes sense.
Thanks for the feedback and assistance with this
Rob