Support Forum

Unable to Edit Profile Information

38 Answers

New Answer

PA patrick182
patrick182
Member

Okay, I’ve tried the following themes and still no fix; same problem with all themes 🙁

  • Twenty Fourteen
  • Twenty Fifteen
  • Twenty Sixteen
MP Mr Papa
Mr Papa
Member

okay, good… sort of… expected that… but leads us back to something on the server… such as mod_security…

no caching?  no CDN?

perhaps you could try this method for quick mod security disable and see what happens…  the top one…  and yes, like the article says, they could have disabled that…

barring that, next suggestion will be to contact your host and ask why the server is intercepting the ajax request and stripping the query args thus forcing it to redirect to forum main page… they should be able to look in the logs… and if it is mod_security (my guess – and that is all it is), they will see it and could make a whitelist rule for your forum stuff as nothing insecure about that ajax request…

PA patrick182
patrick182
Member

I ran all of this by my host and they couldn’t figure it out. I disabled ‘mod_security’ and left it that way for 30 minutes before attempting to save a change to my profile and still, the Update Profile button is non-responsive.

I’m at a complete loss here. Any ideas?

This is incredibly discouraging…

PA patrick182
patrick182
Member

Btw, my host forwarded this link in an effort to shed some light on this. Although, I don’t have any idea what is discussed here.

Help?

YS Yellow Swordfish
Yellow Swordfish
Member

That link has no relevance to your issue. That fails to display the profile forms at all. The really frustrating thing about that link is that underneath the ‘error’ that the person pasted is a sentence that tells them exactly what to do to fix it using the forum toolbox. Shame they did not bother to read it and follow the instructions.

I am not a server expert so is this right that to disable mod_security you just turn something off? In my experience the server usually needs to be rebooted for that kind of thing but I assume your host knows what they are doing.

Yes – it is incredibly discouraging when one user has a problem that nobody else has. When we get a report of such a unique issue it is clearly obvious that the problem is environmental and not a bug within SP. Well – let’s say 99% obvious! If it was a bug then we would all have the same problem. And we don’t.

As @mr-papa said above – something you have installed is trapping the AJAX calls to the web server and stopping them running their code. This is why the permissions tab of the profile, when you click on any of the view buttons, displays the front page again (which is the home page in this website).

We would like to know if you host actually investigated the server logs to locate one of the calls to see what happened to it. Perhaps you could ask them to send us some appropriate entries?

LU Luca Urzi'
Luca Urzi'
Member

I actually have the same problem. Users can’t update anything on their profile, they receive a “null” response. They can’t even change the password, nor the signature or the avatar. 

I just updated to the most recent version and changed the theme (to reboot). 

MP Mr Papa
Mr Papa
Member

same problem?  so the ajax response is being hijacked? is it redirecting with the httpxmlrequest to the main page???  what do you mean by null response (since not part of original poster discussion)???

you mention three things that cannot be changed… is that all or is it anything?  can you view the permissions on a forum by forum basis (will be best indication if same problem or not)…

LU Luca Urzi'
Luca Urzi'
Member

Mr Papa said
same problem?  so the ajax response is being hijacked? is it redirecting with the httpxmlrequest to the main page???  what do you mean by null response (since not part of original poster discussion)???

you mention three things that cannot be changed… is that all or is it anything?  can you view the permissions on a forum by forum basis (will be best indication if same problem or not)…  

this is what we see (no matter the user role)

It happens only when you try to update something on your profile. I can see the permissions. 

YS Yellow Swordfish
Yellow Swordfish
Member

OK – so not really the same thing at all. And that response is very, very weird. But I still favour this being an AJAX issue which is about the only way one could explain a ‘null’ – although I remain unaware of what is supplying the ‘null’ term.

So the first thing to check is for script errors. Can you use the web browser’s console to look for script errors? You need to load the profile form and then try and save something to see what gets reported. There are some tips here on how to use it in case you do not know: https://simple-press.com/documentation/codex/faq/how-to/how-to-use-your-web-browser-console/

YS Yellow Swordfish
Yellow Swordfish
Member

Two other quick questions please. Firstly – who are your hosting company and secondly – do you have the mod_security library installed on your server (you may need to ask your host)?

PA patrick182
patrick182
Member

Ok guys, I checked with my host, and here’s what a support rep. said:

I double checked on the server logs after testing the site and didn’t see any output in the error logs or the apache logs.

We reverted back to WP 4.6 in an effort to see if we could replicate the issue in an earlier WP installment but now I get a Downgrade Warning in the Forum panel in the WP Dashboard and now my forum is out of commission. I have no idea where to go from here.

Any other ideas, guys???

YS Yellow Swordfish
Yellow Swordfish
Member

I can probably talk you around the downgrading bit not really sure it will help you. You will have to manually edit a database record. Can you do that?
Remind me what version of SP you were using here

Hang on… if you only changed the WordPress version that would not be enough to cause a downgrade warning in SP. So have you downgraded that as well. And if so I will need that version number as well.

PA patrick182
patrick182
Member

WP 4.6 and SP 5.7. Although, I never asked my host to downgrade SP. I’ve got a backup of my DB from 9/1 so if we’re about to hurt things on my end, I can do a restore.

YS Yellow Swordfish
Yellow Swordfish
Member

But is 5.7 what you are using now or what you were using previously? I.e., what are you wanting to downgrade both from and to?

Take a look at the file sp-control.php in the root folder of the SP plugin. See the defines for SPVERSION and SPBUILD. Note them down.

In your database in the prefix__spoptions table are two records named ‘sfversion’ and ‘sfbuild’ – they7 are probably records 1 and 2. They need to be set to the same numbers you find in the sp-control.php file.

PA patrick182
patrick182
Member

This is getting a little too complicated for my comfort level. I have no business or interest in playing around in the DB as I don’t trust my level of expertise in that area. Any chance you guys can do this for me?

And btw, I’m currently running SP 5.7.