I don't know why this is happening, but a user can't change its password, not even a super-admin can change it's own or change other's, I first thought it had something to do with cache/varnish/memcache or Pressflow, but no, when I disabled this module users were able to change their own password, profiles and general configuration.

I don't know how to reproduce this, would be anything in the code that could prevent this from happening. The form is submitted but apparently the changes are not saved. I'm also using a shared database for the users. Most configuration is like this one http://drupal.org/node/291373

Comments

aidanlis’s picture

Status: Active » Closed (cannot reproduce)

I can only assume that some other module is causing this.

obrienmd’s picture

Version: 6.x-1.9 » 6.x-1.11
Status: Closed (cannot reproduce) » Active

Actually, I am seeing this as well. It may have something to do w/ Pressflow, as I am on that platform as well. In my case, content_profile values are saved perfectly, but user values (username, email, password, blocked/active) are not. Odd.

Please let me know if there's anything I can do to help debug.

Ejstrup’s picture

This is happening to me as well.

I have two very similar drupal installation. It works fine on one and on the other it wont save anything.

It's as if hook_user update doesn't fire at all. I'm trying to make sense of it, but having no luck so far :/

UPDATE: Disabling Inline Messages solved the problem for me.

lelizondo’s picture

I'm not using inline messages.

asak’s picture

Same here. not using inline messages. am using lots of contrib modules.
I'll try to track this down..

webcultist’s picture

Same problem. Inline Message is not used.

tanjerine’s picture

+1 same thing is happening to me.

tanjerine’s picture

+1 same thing is happening to me.

tanjerine’s picture

+1

tanjerine’s picture

+1

tanjerine’s picture

subscribng

webcultist’s picture

In my case this line is important:

"drupal_alter('form', $category_form, $form_state, 'profile_form_profile');"

Without this line, the form works, but does not look so good.

(I don't know if it's importent, but I use the user location module.)

aidanlis’s picture

Interesting ... that line was added to solve a variety of other bugs.

TimelessDomain’s picture

simplenews 2x is what was breaking this for me. disabling this module fixed problem.

lelizondo’s picture

I'm not using Simplenews either

stone_d’s picture

@#14
... same for me. Im using simplenews 2.x too, and it seems as if its not working properly with one page profile.
But I can't disable or even downgrade to simplenews 1.x, so i appreciate any suggestions on this.

harakternik’s picture

same problem
all fields read only even for admin
submitted but not changed

UPDATE: solved by removing this line
drupal_alter('form', $category_form, $form_state, 'profile_form_profile');

is it any danger of doing it?

aidanlis’s picture

This line was added to prevent another bug, but if it's working for you without it then carry on.

Soldierka’s picture

I've got the same issue. I've decided to disable One Page Profile... It worked... But I know that it is not the best solution. I hope that someone will fix this right.

kryber’s picture

+1

TCRobbert’s picture

Same problem, also fixed it by removing
drupal_alter('form', $category_form, $form_state, 'profile_form_profile');

simon georges’s picture

Status: Active » Needs review
StatusFileSize
new495 bytes

Hi,

You can find attached an attempt at fixing things for those who have problem with Simplenews. This patch seems to allow password change, but I haven't extensively validated any other change possible, so please validate it intensively before using it on production.

aidanlis’s picture

Status: Needs review » Active
artt’s picture

Hi all,

I've tested this patch and it works. If you also use simplenews 6.x-2.x, I think it could also work for you.

Hoping others can confirm this.

aidanlis’s picture

Clearing the spam.

mazdakaps’s picture

similar problem but not like changing the password or any other info but subscribing and unsubscribing from the newsletter using simplenews 1.x. Tried the patch just to be sure but the same problem.

neurovation.kiwi’s picture

Status: Active » Needs review

hi folks,

well the problem is, that when any module uses the '#submit' tag, then the standard submit is not populated anymore, so here is a more generic patch:

Index: sites/all/modules/onepageprofile/onepageprofile.module
===================================================================
--- sites/all/modules/onepageprofile/onepageprofile.module	(revision 4165)
+++ sites/all/modules/onepageprofile/onepageprofile.module	(working copy)
@@ -92,7 +92,13 @@
             $form += $simplenews_form;
           }
         }
-
+        if (isset($form['#submit'])) {
+          if (function_exists('user_profile_form_submit')) {
+            // We set submit here so that it can be altered.
+            $form['#submit'][] = 'user_profile_form_submit';
+          }
+        }
+        
         return $form;
       }
 
mazdakaps’s picture

just tested it and still have the same problem subscribing or unsubscribing from the simplenews newsletter

aidanlis’s picture

Status: Needs review » Active

Sounds like we don't a patch available.

aidanlis’s picture

Status: Active » Fixed

Should be fixed now!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mazdakaps’s picture

Status: Closed (fixed) » Active

same problem for me with simplenews. New one page profile version didnt fix it.

aidanlis’s picture

Can you make sure you're using the latest version of simplenews and onepageprofile?

mazdakaps’s picture

Yes i am using the latest stable releases for simplenews and one page profile.
Thank you

aidanlis’s picture

Can you give me the version numbers please?

mazdakaps’s picture

Sorry for the late reply. Simplenews 6.x-1.3 and One page profile 6.x-1.13

simon georges’s picture

Please note that the 6.x-2.x version of Simplenews is a lot more stable than the 6.x-1.x version.

mazdakaps’s picture

ok ill try that and ill get back. Thnx

mazdakaps’s picture

Status: Active » Closed (fixed)

Yes!!! Its working now .
Cheers

musa.thomas’s picture

got smilar bug but I don't have simplenews or ipenpageprofile.
How do you fiw it? I try to add

$form['#submit'][] = 'user_profile_form_submit';

but it's change nothing