Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Unable to Edit Profile Information
Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Sep 7, 2016 - 12:32 am

PM sent.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 7, 2016 - 4:48 am

I have had a brief look and am going to bring in a colleague as well but I need you to check one thing with your hosting support,. Please check with them if they have installed the 'mod_security' library on your server and, if so, could it be refusing the calls to save profile data. Usually the easiest way to check is to ask them to remove it and then try the operation again. If that is the problem then they can whitelist the effected URLs.

andy-signature.png
YELLOW
SWORDFISH
Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Sep 7, 2016 - 2:35 pm

I checked with my host and 'mod_security' was indeed installed, so we uninstalled it and after about 10 minutes, I tried to Edit Profile on the front end again, and still no fix. So I reinstalled 'mod_security' since if it's not the culprit; there's no sense in having less security.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 7, 2016 - 7:17 pm

not convinced it was really deactivated? did you just wait or confirm it was off...

asking because something is hijacking the ajax response there... ajax is used to save the profile information... it starts running, but then gets redirected to the main forum page and gives that back as the ajax response... obviously, the main forum page isnt a valid ajax resonse... so nothing is saved and while the profile button is actually doing what it is supposed, need to figure out what is interfering with the ajax...

so could be mod_security (lol, not really any good) or other...

have you done a temp theme change to default wp and see if working?

as an fyi, there are also other places where something is hijacking our ajax responses...  so need to get to the bottom...  it does not appear to be any plugin, so kind of leaves the theme... or something on the server...

Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Sep 7, 2016 - 8:28 pm

RE: 'mod_security'

I waited for 10 minutes to pass, then restarted a new tab, went back to the forum and retried to Edit Profile. Nothing.

RE: Forum change

I'm gonna play with this a little bit tonight and see what happens when I switch themes. I'll circle back with results.

Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Sep 7, 2016 - 8:33 pm

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

  • Twenty Fourteen
  • Twenty Fifteen
  • Twenty Sixteen
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 7, 2016 - 9:59 pm

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...

Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Sep 9, 2016 - 3:07 am

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...

Avatar
patrick182
Space
Member
sp_UserOfflineSmall Offline
Sep 9, 2016 - 3:11 am

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?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Sep 9, 2016 - 5:27 am

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?

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 617
Members: 17359
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10125
Posts: 79620