FrontEndUsers change user settings bug?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
sinusiks
New Member
New Member
Posts: 3
Joined: Tue Aug 19, 2008 2:49 pm

FrontEndUsers change user settings bug?

Post by sinusiks »

Hello,

I am trying to make FrontEndUsers module 1.5.3 work on CMS-MS 1.4.1. After user registers using SelfRegistration 1.2.1 module everything is fine - all custom fields such as email, first name and last name are saved.
But when user logs in and goes to change his settings all properties are deleted. I can change my password but if I change anything else (or even if not) and hit "submit" button all properties get deleted.

I turned on Mysql query logging and noticed that the only queries that are logged after I hit "submit" in change settings form are:

DELETE FROM cms_module_feusers_properties WHERE userid='3'
...
SELECT * FROM cms_module_feusers_properties WHERE userid='3'
...
SELECT * FROM cms_module_feusers_properties WHERE title='email' AND userid='3'
...
SELECT * FROM cms_module_feusers_properties WHERE title='fname' AND userid='3'
...
SELECT * FROM cms_module_feusers_properties WHERE title='lname' AND userid='3'


and that's it .. There is a delete statement but no "insert" statement so all data gets lost..
I have a "change settings" site defined with only content {cms_module module=FrontEndUsers form='changesettings'}

Am I doing something wrong or is this a bug?
sinusiks
New Member
New Member
Posts: 3
Joined: Tue Aug 19, 2008 2:49 pm

Re: FrontEndUsers change user settings bug?

Post by sinusiks »

Found a "bug" .. actually it was not a bug - I forgot to include {$control->hidden} tag for every control in my "change settings" template...
Post Reply

Return to “Modules/Add-Ons”