Problems using the select member group functionality
Posted: 24 June 2009 02:57 PM   [ Ignore ]
Newbie
Rank
Total Posts:  14
Joined  2008-08-16

I have implemented a form which we can use to update a user’s information, and am using the select_member_groups function for one of the several fields.

When I update only this member group field, I get no errors and the update processes. However, if I update one of the other fields in the form, I receive the following error (Note, the update I make is taking, and if I remove the select group field, the form works fine):

Notice: Undefined index: screen_name in /home/thund6/public_html/peoplepoweredmovement/site/admin/modules/user/mod.user.php on line 2338
Notice: Undefined index: member_id in /home/thund6/public_html/peoplepoweredmovement/site/admin/modules/user/mod.user.php on line 2365
Warning: Cannot modify header information - headers already sent by (output started at /home/thund6/public_html/peoplepoweredmovement/site/admin/modules/user/mod.user.php:2338)

Any ideas here, I really want to be able to change the group assignment in our user profiles from this form.

Profile
 
 
Posted: 24 June 2009 05:28 PM   [ Ignore ]   [ # 1 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8290
Joined  2006-10-18

Hi Jeremy,

I just tested this out and I cannot duplicate this issue.
Are you able to provide me more information as to how you’re causing this? (Member group of member editing the members profile, Member Group of the profile being edited, etc) smile

Also, there is a known issue with the 20090320 build of ExpressionEngine. If you’re using the build, try upgrading to the latest smile

 Signature 
Profile
 
 
Posted: 24 June 2009 05:53 PM   [ Ignore ]   [ # 2 ]
Newbie
Rank
Total Posts:  14
Joined  2008-08-16

Sorry about the lack of detail:


This is a form that allows an administrator or a member of the staff access group (I created it) to edit information for people in our data base. The groups allowed to be changed are group_ids 1-11, see code. Like I said, it lets an admin change the groups from 9 to 11, both custom groups, but if I change another field as well, I get the error message (yet the update I made takes effect.

Very weird thing here.

Here is the code for the page:

See attached. Let me know if I can provide more feedback.

Thanks,
Jeremy

File Attachments
sample code.docx  (File Size: 17KB - Downloads: 17)
Profile
 
 
Posted: 24 June 2009 07:06 PM   [ Ignore ]   [ # 3 ]
Administrator
Avatar
RankRankRankRankRank
Total Posts:  8290
Joined  2006-10-18

Can’t seem to open that file…

 Signature 
Profile