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
Password change in Profile->Account Settings screen not working
Avatar
Roberto Villabona
Member
sp_UserOfflineSmall Offline
Sep 28, 2015 - 1:12 am

Hi,

I'm testing on a development site that uses real forum data from a production site.  It's being tested to see if upgrading the production site to the latest WP and Simple:Press versions are problem-free.

I'm running the dev site on Wordpress 4.3.1 and Simple:Press 5.5.11 with all SP plugins updated.  The production runs on much earlier versions for both but is generally running fine.

Anyway, there's one problem I detected and it's that the password change screen in Profile->Account Settings doesn't seem to be working.  I get the "Account Settings Updated" after entering the new password twice but no actual change to the password happens.

When I use the Wordpress "Your Profile" screen to change the password it works.

I also have Woocommerce installed and using its account editing page I am also able to change the logged in user's password.

I have an event logger that logs all WP password changes and from there I see that no password change actually takes place using the Simple:Press profile screen but the changes using the default Wordpress and Woocommerce forms are working.  This actually works on the older website so I'm wondering if it may be an incompatibility with how WP4.3 now handles passwords.  Thanks!

Avatar
Roberto Villabona
Member
sp_UserOfflineSmall Offline
Sep 28, 2015 - 1:21 am

Just some additional info.

My Profile->Account Settings screen doesn't have the "Alternate Post by Email Address:" input box in my form.  Could that be a sign my dev site isn't running the right version?  I'm seeing no messages that any of my SP plugins are out of date.

Also, I tested the password change form in this forum and it seems to be working 🙂 unlike my dev site 🙁

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Sep 28, 2015 - 5:46 am

Hey Roberto,

There was an issue with the profile password reset but it was more of a problem with typing the new password as opposed to saving it, but that was fixed up at least a month ago in 5.5.10..

Additionally there is a ticket open for an issue with password reset entitled 'New password reset no longer redirects' but I'm not sure on the specifics of it. It seems to be more a reference to redirecting back to the forum as opposed to the WP dashboard as WP 4.3 changed the whole password / registration system quite a bit, but for more info on that we'll have to wait for Mr Papa to take a look as I think he might know more about it than me, or whether it will cause the problem you're seeing.

Are you getting any errors in the browser console on that page?

As to the 'Additional Post By Email' box, are you running the Post By Email plugin?

Avatar
Roberto Villabona
Member
sp_UserOfflineSmall Offline
Sep 28, 2015 - 10:40 am

Hi Ike,

No, I'm not using the Post by Email plugin so I guess that explains the lack of that input box. 🙂

However updating the password just isn't working.  I don't have any errors in the browser console (Chrome) whether after loading the page or after updating the password.  In fact I get the message "Account Settings Updated" but still no actual password change happening.

On Firefox I get these security messages on the console once the "Account Settings" form is shown (since I'm not using HTTPS):

Password fields present on an insecure (http://) page. This is a security risk that allows user login credentials to be stolen.[Learn More] <unknown>
Password fields present in a form with an insecure (http://) form action. This is a security risk that allows user login credentials to be stolen.[Learn More]

However I get identical results in that I see the "Account Settings Updated" message once I enter the new password in the two boxes.  I've tried this even on the basic Twenty-fifteen theme and I get the same results.

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Sep 28, 2015 - 3:02 pm

The main difference here is that we are running SP 5.6 and I can't see any tickets fixed in 5.6 that relate to this problem. I'm also not sure this has anything to do with the other recent password / registration problems.

It might be worth disabling other WP plugins and trying again just to try and narrow it down but after that I'm afraid we will have to wait for Steve (Mr Papa) to take a look as I'm really not sure what to suggest.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Sep 28, 2015 - 9:11 pm

correct was fixed and confirmed by multiple users...  and those are not errors, just warnings as you suspected by plaintext passwords with ssl...

after trying to save, anything in forum - toolbox - error log?  or in your server php error log?

Avatar
Roberto Villabona
Member
sp_UserOfflineSmall Offline
Sep 28, 2015 - 10:04 pm

Hi,

Just did the test with all other plugins disabled (only Simple:Press activated).  Also used the Twenty-Fifteen theme with no custom functions.  Used the Reboot Child Framework theme without any customizations.  All Simple:Press plugins active.

I got the same result -- no change to the password even as the message says the account info had been updated.  Just for kicks I also edited the email address and the password.  I logged out, tried to login using the new password and couldn't get in.  Successfully logged in using my old password, looked at the Profile again and saw the email address had been updated even as the password wasn't. 🙁

Next I deactivated all Simple:Press plugins on top of this yet I still got the same results.

I tried changing my password using the standard Your Profile screen and it worked.

There was one modification I had done before on the sp-load-forum.php file because of an incompatibility with the theme I'm using (Genesis Dynamik Website Builder) where I changed the parameter 10 in the call to add_filter in line 97 to the value 15 so it would work with my theme (it kept showing the Browser title in the viewport otherwise).  I don't think it has anything to do with the problem I'm having but I changed that back to its original line but still got the same results.

Anything else I can do to help troubleshoot?  I was curious about the Data Inspector in the forum admin Toolbox but couldn't find the docs on how to use it, or if at all it's any use in this case.

EDIT: Forgot to mention there were no php nor forum-toolbox error logs in all cases.

Avatar
Roberto Villabona
Member
sp_UserOfflineSmall Offline
Sep 28, 2015 - 10:27 pm

Hi, just some additional info which I'm not sure is relevant.

I was looking at Forum->Profiles and got this screen:

sp-profileoptions-ok.pngImage Enlarger

However when I click on the 'Profile Options' link in the Simple:Press admin menu (which should just take me to the same screen) I get this (filepath prefix intentionally blurred):

sp-profileoptions-error.pngImage Enlarger

Avatar
Ike
Sawtry, UK
Member
Free Members
sp_UserOfflineSmall Offline
Sep 29, 2015 - 5:06 am

So is it only when you click on the SP Forum > Profile Options tab you get the error? By this I mean can you always access the profile options page by using the inline Forum menu embedded in the WP dash?

If so, can you try changing it to a 'Forum Profile Page' instead of popup?

This has cropped up once before and wasn't something we could replicate. The error thrown there is a standard WP function that just checks for other plugins that might offer a profile like BuddyPress for example so it shouldn't affect the SP profile at all.

Instead of SP error log, can you check your PHP error log? Make sure to clear it, re-run test and check it for errors only, not warnings or notices.

Avatar
Roberto Villabona
Member
sp_UserOfflineSmall Offline
Sep 29, 2015 - 1:07 pm

So is it only when you click on the SP Forum > Profile Options tab you get the error? By this I mean can you always access the profile options page by using the inline Forum menu embedded in the WP dash?

If so, can you try changing it to a ‘Forum Profile Page’ instead of popup?

Yes, that's correct.

I changed the settings to Forum Profile Page and that error still occurs and is recorded in the PHP error log.

I tried changing the password with the new Forum Profile Page enabled instead of Popup Window and still no password changes occur and apart from the error about the is_plugin_active() function missing, there were no other error logs, either from the PHP error log file or SP Toolbox Error Log.

So in summary I still get the same results -- no password change takes place when I try to do so and I still get the is_plugin_active() error message when I select SP Forum > Profile Options tab.

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: 649
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 616
Members: 17344
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10117
Posts: 79600