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
Website URL not updating in profile
Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
May 9, 2017 - 4:33 am

Our users running into an issue with updating their profile, specifically the URL for their website under Edit Profile. Once they entered a URL they can no longer change it, it sticks to the original value. However, it does update in the backend. Though updating it in the backend also doesn't change it under the forum profile.

I'd customized some things over the years, all documented here in the forum. So I went through my old topics here but couldn't find anything that pertains to this issue, all the previous customization had already been undone and/or removed or was never implemented in the first place (never used BuddyPress for example; also User Profiles Made Easy was removed a while ago).

First thing I tried was to switch the theme. I am using a child theme for Default. So I switched to the parent theme. That resulted in another issue: the forum page automatically reloads after a few seconds and stays blank. This happens with the CSS Only Theme as well. Switching back to Default Child "resolves" that issue. So there's something fishy right here, I assume that may be connected to the main issue.

I am using Simple Press 5.7.4, Build 14760 and all plugins are current.

There are some entries in the error log, though they don't seem to correlate with the issue, posting them anyway:

Nonce Security Alert
profile: failed nonce check

action profile
tab profile
menu edit-avatar
user 6847
rand 383823803
_wpnonce 0ded6f2395

Nonce Security Alert
profile: failed nonce check

action profile
tab profile
menu edit-profile
user 6877
rand 214320803
_wpnonce 22fc1faf61

These don't show up though when I edit website URL in my own profile. I've been trying to troubleshoot this for several hours now, to no avail. Any help is appreciated.

Thorsten

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
May 9, 2017 - 4:45 am

Quick update: the reload to blank page is caused by the Wordpress theme we use (it's called Stockholm). We fixed this at some point in the past, fix is in the Default child theme (I think it was turning off the tooltips).

Anyway, I switched our WP theme to Twenty Sixteen, switched SP theme to Default, but website URL still doesn't update under the SP profile, it stays "stuck". All other fields update fine though (First Name, Last Name, Location, etc.).

I know it works here on the support forum so must be something in our install.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 9, 2017 - 9:00 am

so you are talking about profile - edit profile - website field in the profile?

is the full url being added with the schema (the http or https part)?

and when you save it, a blank screen is loaded?  shouldnt be any page loaded.. its an ajax update...

with the browser console open, anything reported there for the ajax update?  you may have to expand the result...

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
May 9, 2017 - 9:37 am

The blank page turned out to be unrelated, so can be disregard.

But yes, it's profile > edit profile > website. When updating that field, with a full URL, and saving, it states "Profile settings updated" - but it's not. When the profile is reloaded the previous entered URL pops up again. Example: change http://alternatewords.com to http://closefocusstudios.com > "Profile settings updated" > reload > displays http://alternatewords.com again. BUT, the URL field in the Wordpress profile is updated correctly, every time.

Several of our users reported this issue on our site so it's not a browser caching issue, just in case.

The only output in the console is "JQMIGRATE: Migrate is installed, version 1.4.1"

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 9, 2017 - 9:18 pm

but under console, when you hit update, it must load an ajax process...  I want to know the response to that...  since you now indicate no page is loading, it will just show up in the console...

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
May 10, 2017 - 2:40 am

The page loads fine. Update works fine. It just doesn't update the "Website". This is what the console shows when I enter a URL:

Capture.PNGImage Enlarger

 

 

 

I've entered "http://closefocusstudios.com" under "Website", reload the profile page and "Website" shows "http://poetryofthemoment.com" again:

Capture2.PNGImage Enlarger

 

 

 

Wordpress backend profile is updated correctly though:

Capture3.PNGImage Enlarger

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 10, 2017 - 9:22 am

having a hard time reading the error in the bottom in red...  is it related to watches update?  when did that come up?  when you hit the save button? 

there should be an entry for the profile save ajax action as well when you save... is it not there?  would be related to a file admin-ajax.php which is a standard wp file...

what about when you save a different profile menu?

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
May 10, 2017 - 9:41 am

Yes, they are related to watches update. They don't seem to be related to this issue. I just tried again and no errors where displayed.

There is no entry for the profile save ajax action, neither in Firefox nor in Chrome.

All other options and entries work fine, no errors, everything gets updated and stays updated at save. It's only "Website", nothing else - on all user profiles.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
May 10, 2017 - 8:45 pm

not necessarily looking for errors in the console when you hit save, but the ajax response...  its not possible for anything to save without the ajax action...

under the console, what are you displaying?  you can display things like all, errors, warnings, info, etc...  you would want it on all to see the ajax response...

Avatar
Thorsten B
Member
sp_UserOfflineSmall Offline
May 11, 2017 - 2:29 am

That was all active but HXR wasn't enabled, hence there were no AJAX outputs. This is what I get now:

POST
XHR
http://bloggingyourway.com/wp-.....n-ajax.php [HTTP/1.1 200 OK 1747ms]
Headers
Params
POST
Response
Cookies
Call Stack
Cache-Controlno-cache, must-revalidate, max-age=0ConnectionKeep-AliveContent-EncodinggzipContent-Length71Content-Typetext/html; charset=UTF-8DateThu, 11 May 2017 06:24:26 GMTExpiresWed, 11 Jan 1984 05:00:00 GMTKeep-Alivetimeout=5, max=100Pragmano-cacheServerApacheSet-Cookiewfvt_677328541=5914039b22f22; expires=Thu, 11-May-2017 06:54:27 GMT; Max-Age=1800; path=/; httponlyVaryAccept-EncodingX-Content-Type-OptionsnosniffX-Powered-ByPHP/5.5.36X-Robots-Tagnoindexx-frame-optionsSAMEORIGIN
Acceptapplication/json, text/javascript, */*; q=0.01Accept-Encodinggzip, deflateAccept-Languageen-US,en;q=0.5Connectionkeep-aliveContent-Length284Content-Typeapplication/x-www-form-urlencoded; charset=UTF-8Cookiewordpress_91913cf3965f3854068a327954fdd6ed=Altair21sd%7C1494655873%7CnbB6vzL22JeQ0qjzfYeu3ofa8CgT3vqe9jw7PbC9xUY%7C06245e21e3bae6b7e8ff93c7cced9f3ea78187450071e31c96c1ab129636a6f2; __cfduid=dfd4b3863d0e454adee50394557ed2c141483694140; __utma=261669470.2005800604.1483694154.1489736325.1489740537.28; __utmz=261669470.1483694154.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); sforum_91913cf3965f3854068a327954fdd6ed=Thorsten+Becker; __distillery=3ecd6ba_ed1bab82-f8e7-4ea8-91fb-73a45e56f250-67dd5669b-f3857044a5ab-85aa; wpmchimpa_show=true; plupload_ui_view=thumbs; wordfence_verifiedHuman=1b6a4d4039581da890db45f0daa8bbc2; PHPSESSID=2be382150350ad452fff127286f4461d; wfvt_677328541=5914038b65c91; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_91913cf3965f3854068a327954fdd6ed=Altair21sd%7C1494655873%7CnbB6vzL22JeQ0qjzfYeu3ofa8CgT3vqe9jw7PbC9xUY%7Ca139f0c4702e2dbb0df94b21458a5479450102445dfc58f5b1da2d5e7eeebdf3; wfwaf-authcookie-0b51677280d351f13bae042b5e0eb0e2=1%7Cadministrator%7C1264af4cb5ee416a0c6522e89b0900b0c79eb3e2f9778a0733a2f86c88fea302DNT1Hostbloggingyourway.comRefererhttp://bloggingyourway.com/forum/profile/User-AgentMozilla/5.0 (Windows NT 10.0; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0X-Requested-WithXMLHttpRequest

This is from "Header", or would you need any of the other outputs as well?

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: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625