Support Forum

Unable to Edit Profile Information

PA patrick182
patrick182
Member

Running:

WP 4.6, SP 5.7.1

Members, can no longer edit their profiles. The “Update Profile” button is non-responsive.

I’ve tried deactivating all SP and WP plugins (except SP itself of course) and that didn’t fix it.

I’ve tried editing with different browsers and that didn’t fix it.

This hasn’t been an issue in the past. Any ideas?

38 Answers

New Answer

MP Mr Papa
Mr Papa
Member

Nor is it an issue for other users…  when you say update profile, can you clarify what you mean?  are you editing your sp profile on front end and trying to save the changes?  if not, please explain further…

try going to forum – toolbox – housekeeping and clearing the combined js cache…

PA patrick182
patrick182
Member

Mr Papa said
Nor is it an issue for other users…  when you say update profile, can you clarify what you mean?  are you editing your sp profile on front end and trying to save the changes?  if not, please explain further…

try going to forum – toolbox – housekeeping and clearing the combined js cache…  

Yes, we cannot edit our profiles on the front end and save changes. The “Update Profile” button doesn’t respond. Tried resetting both combined css and js cache and that didn’t help.

Any ideas?

YS Yellow Swordfish
Yellow Swordfish
Member

I am going to start with my usual comment I am afraid. As the program code can not suddenly change all by itself and therefore stop functioning then something must have changed it. And by this I am not talking about the SP plugin – I am talking about the whole WordPress code base – themes, plugins etc.

It is probable that the symptoms are caused by a JavaScript conflict of some sort – this can be found by using the browsers web console and trying the problem action. If there are errors, they will be shown in the console. Usually in red!

But of it is a script conflict then a script or scripts must have changed. Been added or updated…

PA patrick182
patrick182
Member

Well, nothing has changed. With the exception of the usual WP and SP updates, the theme and plugins are all the same.

When viewed from a phone, a user did get an unusual “fakepath” link prompt as shown in the screenshot below. No idea what that’s about.

As for the console, I can pull it up but my knowledge of what I’m doing stops there. Any help is appreciated. I can PM login credentials too.

screenshot.jpg
YS Yellow Swordfish
Yellow Swordfish
Member

You can look up fakepath. It is a Microsoft method for  obfuscating path data so nothing wrong with that. Did this attempt at uploading the avatar work out? You did not say…

For using the web console to see script errors see:

https://simple-press.com/documentation/codex/faq/how-to/how-to-use-your-web-browser-console/

PA patrick182
patrick182
Member

That is correct, the user was unsuccessful in uploading an avatar. Unsuccessful, in fact, in editing anything in the “Edit Profile” option on the front end. As stated previously, the “Update Profile” button is non-responsive.

RE: Web Console

I checked for errors and there weren’t any. I used the Developer Tool option as indicated on the page you pointed me to in your previous comment.

Any ideas?

YS Yellow Swordfish
Yellow Swordfish
Member

Let’s just confirm this please. If there was an error it would show up when you clicked on the ‘update profile’ button. Are you saying nothing was reported? And nothing was showing up when you first loaded the page in the browser?

PA patrick182
patrick182
Member

I’m saying that when I ran the developer tool, no errors were reported. I’m also saying that the “Update Profile” button does exactly nothing – Click on it and nothing happens; no errors, nothing.

YS Yellow Swordfish
Yellow Swordfish
Member

Perhaps you would like us to take a look directly. If that’s OK can you create an account we can use?

Then please PM credentials to both myself and to ‘Mr Papa‘. Please include in the PM a link to your site, a link to this thread and brief reminder of the problem. And one of us will take a look for you.

YS Yellow Swordfish
Yellow Swordfish
Member

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.

PA patrick182
patrick182
Member

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.

MP Mr Papa
Mr Papa
Member

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…

PA patrick182
patrick182
Member

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.