First Attempt at User 1.0 Field Update…Not Updating
Posted: 24 October 2007 12:19 PM   [ Ignore ]
Newbie
Rank
Total Posts:  6
Joined  2007-10-24

I’m taking my first stab at using User 1.0 to update a Member.  However, the data is not being updated.  I see my own Screen Name and Email in the fields, but clicking Submit produces no changes.  Any thoughts for what I believe would be a very simple problem?  Thanks!

The relevant portion of my Template code:

{exp:user:edit required="all_required" }
Screen Name <input name="screen_name" value="{screen_name}" />
Email <input name="email" value="{email}" />
<input type="submit" />
{/exp:user:edit}

Profile
 
 
Posted: 24 October 2007 02:26 PM   [ Ignore ]   [ # 1 ]
Newbie
Rank
Total Posts:  6
Joined  2007-10-24

I believe it may have to do with the <input type="hidden" name="ACT" value="33" /> that’s generated within User.  Is that the ‘update’ action?

Profile
 
 
Posted: 24 October 2007 02:39 PM   [ Ignore ]   [ # 2 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  701
Joined  2004-03-30

Wiley,

If you specify no member id in the URL or in a parameter for exp:user:edit, then you will always see your own info to update.

mk

 Signature 

Mitchell Kimbrough

Profile
 
 
Posted: 24 October 2007 02:41 PM   [ Ignore ]   [ # 3 ]
Newbie
Rank
Total Posts:  6
Joined  2007-10-24

Mitchell, thanks a ton for the response.

Right.  For the moment I’m just trying to update my own record.  Still, the data doesn’t update in the database.  Actually, it doesn’t appear that my changes in the Screen Name field are making it to the form field (the value of “Wiley” when changed to “Bob” still sends “Wiley” to the form variable).

Profile
 
 
Posted: 24 October 2007 02:49 PM   [ Ignore ]   [ # 4 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  701
Joined  2004-03-30

Wiley,

I’m definitely going to need more information of some kind from you. There’s not enough to go on here. Would you like me to log in to your site?

mk

 Signature 

Mitchell Kimbrough

Profile
 
 
Posted: 24 October 2007 03:07 PM   [ Ignore ]   [ # 5 ]
Newbie
Rank
Total Posts:  6
Joined  2007-10-24

Thank you very much for the offer.  I’ve got to run now but will be back at it in the morning.  And there are indeed many layers involved.  I may very well touch base with you tomorrow.  Thanks again!

Profile
 
 
Posted: 24 October 2007 03:18 PM   [ Ignore ]   [ # 6 ]
Administrator
Avatar
RankRankRankRank
Total Posts:  701
Joined  2004-03-30

We’ll be here Wiley.

mk

 Signature 

Mitchell Kimbrough

Profile
 
 
Posted: 25 October 2007 07:55 AM   [ Ignore ]   [ # 7 ]
Newbie
Rank
Total Posts:  6
Joined  2007-10-24

Mitchell, I’ve sent you an e-mail with relevant details.  Thanks in advance for any advice you can lend!

Profile
 
 
Posted: 25 October 2007 08:39 AM   [ Ignore ]   [ # 8 ]
Newbie
Rank
Total Posts:  6
Joined  2007-10-24

Good news!  Nevermind!

The problem was that my site is secure but “URL to the root directory of your site” in “General Configuration” had a non-secure URL.  The database’s server settings must have prevented the database updates, or so it appears.

All seems to be working well.  Yay User 1.0!  grin

Profile