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
After update, user profile changes are not saved
Avatar
DAVIDE PETUCCO
Member
sp_UserOfflineSmall Offline
Feb 2, 2017 - 8:11 am

Hi Yellow,

I checked the error_logs already but nothing related to my IP.

As I said, the Ajax response is the whole homepage, so it doesn't seem interrupted by an error.

Did you check the problem yourself?

 

Here is what I get in access_log:

78.14.186.205 - - [02/Feb/2017:06:06:57 -0700] "GET /wp-admin/admin-ajax.php?action=profile&tab=profile&menu=edit-profile&user=2803&rand=359310707&_wpnonce=e44bca56e2 HTTP/1.1" 200 2007 "http://metodopit.com/forum/profile/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36"
78.14.186.205 - - [02/Feb/2017:06:07:08 -0700] "POST /index.php?sp_ahah=profile-save&sfnonce=17d8e32433&form=edit-profile&userid=2803 HTTP/1.1" 200 7447 "http://metodopit.com/forum/profile/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36"
78.14.186.205 - - [02/Feb/2017:06:07:11 -0700] "GET /wp-content/themes/schema/fonts/fontawesome-webfont.ttf HTTP/1.1" 200 47816 "http://metodopit.com/wp-content/themes/schema/css/font-awesome.min.css?ver=4.7.2" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36"

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 2, 2017 - 8:34 am

... which appear to be returning success status! Curiouser and curiouser...

Yet still a unique report. And yes - I saw it on your site.

Did you check the php error log? We didn't ask about that yet. If you clear the SP error log (admin > toolbox) and then try the profile save operation - do any actual errors get recorded? Actually, in this case, any warnings as well.

andy-signature.png
YELLOW
SWORDFISH
Avatar
DAVIDE PETUCCO
Member
sp_UserOfflineSmall Offline
Feb 2, 2017 - 9:08 am

Nothing in the SP error logs 🙁

Can you connect and troubleshoot the problem?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 2, 2017 - 11:20 am

It's not that simple or straightforward sadly. There are no known problems so we can't point the finger at anything. There are no console/script errors or php errors reported so we can't pin the blame anywhere. I know it happens - I have seen it happening - but there are no troubleshooting options available without clues.

I think - and I believe @mr-papa would agree with me here (not here until later) that the next stage is simply to start working through installed WP plugins - deactivating them one at a time - clearing the browser cache - testing the profile. See if we find some sort of unreported conflict that way. This would especially apply to any plugins that have been installed or upgraded just prior to the problem coming to light.

And then there is the WP theme, many of which, sadly, can be responsible for a large multitude of issues with other plugins.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 2, 2017 - 10:18 pm

that is good next step...  see if still happens with default wp theme and all plugins deactivated... if working, then activate one by one until fails...

Avatar
DAVIDE PETUCCO
Member
sp_UserOfflineSmall Offline
Feb 16, 2017 - 10:16 am

Hi guys,

We disabled all plugins but nothing changed.

Replacing with default theme is a bit tricky on this website as it was done in the past loosing widgets and configurations.

Can you connect to the website and help us a bit more?
We'd like to get more support on this difficult issue.

 

Thanks

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 16, 2017 - 3:42 pm

Sure I can connect - I still have the login details - but I have no idea what else I can look for by doing that. There are no known problems with profile saving; no other reports of this behaviour; nothing to look at in terms of console or error status messages.... Everything - points to an environmental issue - i.e., a unique set up of some sort. 

My favourite was (and in some ways still is) mod_security. The url passed into the ajax routine are being intercepted and, it looks to me, redirected to a straight http request on the page - hence the return html being the whole page. That could be classic mod_security and yes, I know we have been here before but I personally am still suspicious.

So... @mr-papa - do you have any other ideas not yet investigated? (The WP theme has not been counted out of course).

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Feb 17, 2017 - 12:28 am

I dont have login details so I cannot look...

agree on the mod_security suspicion... but could be other security too... do you use sucurri or other too?

you posted something from the access log, but what about the php error log? anything in there?

Avatar
DAVIDE PETUCCO
Member
sp_UserOfflineSmall Offline
Feb 17, 2017 - 1:06 pm

Hi guys,

Nothing in the PHP error_log 🙁

The hosting (Bluehost) confirmed that mod_security is deactivated.

@yellow-swordfish can you provide the login details to @mr-papa ?

I sent them to you both the other week.

 

Thank you very much

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 17, 2017 - 2:44 pm

I believe that @mr-papa does indeed have your site details but has probably overlooked this as it was myself that logged in to your site to see if anything was helpful.

i also rather think that his reference to the php error log was referencing the server php error log and not the SP one. There is a time during an AJAX call where the server has no knowledge of the website and the source of the call and of an error occurs at that stage it will only be reported server side. It would be most rare for this log to be empty!

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: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626