Support Forum

Invalid Profile Request

KD Kathy Drewien
Kathy Drewien
Member

I continue to test SP and am growing more and more frustrated.

I registered as a new user [username: anothertest  password: FMqqFTYn5FB0] on our site which is the primary domain of a WP multi-site installation.

When I follow the login link in the “Your account is now active” message [http://divorcecures.com/wp-login.php] I get the following message on the forum site: “Sorry, an invalid profile request was detected. Do you need to log in?” An attempt to login directly results in the same error message.

Please help. Is it me, multi-site, the settings we’re using, SP? We have spent countless hours trying to get this working.

9 Answers

New Answer

MP Mr Papa
Mr Papa
Member

first, you are using some sort of caching plugin DB Cache reloaded… you cannot cache the forum page as it is all dynamically generated on a single wp page, so caching the page will yield all sorts of errors… so you need to tell that plugin to ignore the forum page for caching… all the other good plugins (ie w3tc, super cache, etc) have ways to exclude pages from caching, so suspect this one does too…

when the caching is turned off on the forum page, please come on back if still having issues…

KD Kathy Drewien
Kathy Drewien
Member

Thanks for the tip on the cache plugin. I am able to login successfully with my newly created test user now. After logging in I am directed to my forum profile which displays “Profile form could not be found,” nor can I edit my profile.

MP Mr Papa
Mr Papa
Member

did you test on different server and move to live server? if so, your profile paths are probably incorrect now… try going to forum – toolbox – housekeeping and try resetting the profile tabs and menus…

KD Kathy Drewien
Kathy Drewien
Member

I changed a few settings in the Profile Options:

  • Display Profile Mode – Forum Profile Page
  • Profile Entry Form Mode – WordPress Profile Form
  • First Forum Visit – nothing selected, yet first login redirects to WP Profile page even though Login and Registration redirect is defined as forum page

There is no simple way to get to the Forum page from the WP User Profile, so going there first is not user friendly. I’m sure I’m missing a setting along the way.

Thanks to your timely support my frustration is diminishing.

MP Mr Papa
Mr Papa
Member

going to the profile on first visit is not the default or normal behaviour… but it is an option as you note… so not sure why it would be going there if you have option off… are you sure caching is off?

or perhaps do you have the option on the profile options admin panel to force users to change their password? or did you ever have it set? if it was set, for the user in question, can you check the wp usermeta table for the user and see if the sp_change_pw meta_key is set? if the usermeta is set it will force a profile load so the password can be changed… we have made a change in 5.1.4 (in development) to remove any of those usermeta should the password change option be toggled…

did you turn off the breadcrumbs? they certainly allow a simple way to get to the forum from any page…

KD Kathy Drewien
Kathy Drewien
Member

I have about 5 test accounts so I’m not certain which one I used… For a few brief moments I did have ‘force password change’ toggled and saw the meta key mentioned above for one of the users. The login was forcing me to the WP Profile page in the Admin section. There’s no way out from there to the site.

It’s the wee hours here and I’m calling it quits for the evening. Another day, another test awaits.

YS Yellow Swordfish
Yellow Swordfish
Member

So let’s see if we can clean this up…

First go to the forum admin > profile panel and turn off the option for first visit and force password change if either is set.

Also you said above you have the ‘profile entry form mode’ set to the WP profile page. Is that what you want? If not then change it.

see if you can clear out all of the ‘sp_change_pw meta_key’ entries in usermeta. That will nmake a clean start.

Finally – go to the forum admin > toolbox > housekeeping and click on reset profile tabs and menus…

Does that enable things?

KD Kathy Drewien
Kathy Drewien
Member

I think we’re good. My last tweak was to change the ‘profile entry form mode’ from WP to forum, then I reset the profile tabs. So far, I’m good with my tests. Now we’ll see what the client reports…

Thanks for your help.