profile error message when logged out?

Why does the following message display on the profile, when logged out:

Error: no profile form exists. You must create at least one profile form to use the flexprofile plugin.

I realize that all of my fields are set to "Logged in users", but I still don't think that is the appropriate message for the profile, when logged out. It would be better if it just returned nothing, instead of that message. Is there a fix for this?

  • Yes, set the access to the form itself to public.

  • It gets worse. If I click on the "Extended Profile" link on the profile (while logged out), I get a very ugly page. First, the page displays the following text ( found at http://mydomain.com/pg/flexprofile/MyUser ):

    Elgg's extended profile
    Error: no profile form exists. You must create at least one profile form to use the flexprofile plugin.

    But what I find worse is that the following links are available in the sidebar:

    ...
    ...
    Edit details
    Edit profile icon

     

  • Setting it to public did get rid of the error messages. The Extended Profile link now has disappeared, but the page itself is still accessible with those ugly links there though.

  • Yakiv, I can't reproduce your problem.

    Are you sure that it has anything to do with flexprofile? Try turning flexprofile off and check to see if the links are still there.

  • Yes, I am using the flexprofile and flexreg. I'll did try turning off your plugins, but I still get it redirecting back to the home page.

  • I am not sure what you meant by, "see if the links are still there." What do you mean by links? where?

  • Yakiv,

    1. Find a profile page where the edit links are showing when you are logged out.

    2. Copy the URL.

    3. Log into Elgg, deactivate the flexprofile plugin, log out again.

    4. Revisit the page with the links.

    5. Are the links still there? If so, this has nothing to do with flexprofile.

  • Kevin, I have two different support threads going on a logged out issue. I was in the mode of testing the captcha when I saw your message about not being able to reproduce it. So, I apologize; of course, if I turned off the flexprofile, then I would not even be able to get to the page that I was talking about, at pg/flexprofile/MyUser

    ...If you have all of your plugins installed, go to a page, logged out, with the following path:

    pg/flexprofile/YourUser

    Replace "YourUser" with an actual user, of course. And you can't reproduce the issue with these links showing on the profile?:

    Edit details
    Edit profile icon

  • There is no such

    pg/flexprofile/YourUser

    path.

    Flexprofile uses the existing profile path.

    And when I go to a profile path when logged out and flexprofile is activated, I do not see those links.

     

Form and related plugins

Form and related plugins

User-generated content, flexible user and group profiles, registration forms, custom file forms