Page 1 of 2

[FEU] Registration goes on even without required fields

Posted: Sat Oct 31, 2009 5:39 pm
by Francesca
Hi,
I'm using FEUsers 1.6.10 with CMSMS 1.6.6 and I setted up a bunch of custom user properties.
Then I created a group and configured the required properties for the user registration form, but after submitting the form in the front-end, the registration goes on even if the required fileds are not filled.
Plus, the form asks the user to submit the username twice but doesn't check if the values are the same and the first one is accepted as username.

This is my code in the registration page:

Code: Select all

{cms_module module='SelfRegistration' group='UtentiRegistrati' lang='it_IT' captcha='1'}
Basically, the form checks only email, password and captcha.

Any help? thank your very much

sorry for my english

Re: [FEU] Registration goes on even without required fields

Posted: Sat Oct 31, 2009 6:17 pm
by Francesca
I looked at the wrong installation (I run more than one website with CMSMS), I have this problem with CMSMS 1.6.6 - FEU 1.6.10 and SelfRegistration 1.2.5

Re: [FEU] Registration goes on even without required fields

Posted: Sat Oct 31, 2009 9:49 pm
by vilkis
Hi,
There was problem with SelfRegistration 1.2.5 and FEU 1.6.9 : http://dev.cmsmadesimple.org/bug/view/3928
I thought it was fixed.
vilkis

Re: [FEU] Registration goes on even without required fields

Posted: Sun Nov 01, 2009 2:44 pm
by Francesca
thank you, I even didn't notice that the form could be submitted without email.
Still, I have the problem with the other custom required fields and with the username that is accepted even if the value of "username again" is different from "username".

As you can see from the attached screenshot, I configured some fields as "Campo obbligatorio = required field" but the registration form doesn't check if they are filled.

Re: [FEU] Registration goes on even without required fields

Posted: Sun Nov 01, 2009 5:46 pm
by vilkis
You have to upgrade SelfRegistration module from svn. If you can not do it I can send you the required file or you can wait for new version of SelfRegistration.
vilkis

Re: [FEU] Registration goes on even without required fields

Posted: Sun Nov 01, 2009 6:20 pm
by Francesca
I'm new with SVN so I hope I did it right. I downloaded e uploaded on my space all the files from
http://svn.cmsmadesimple.org/svn/selfreg/

but the problem is not solved

Re: [FEU] Registration goes on even without required fields

Posted: Sun Nov 01, 2009 9:43 pm
by vilkis
Are you sure that you overwrote old files successfully?  No problem with permissions?
vilkis

Re: [FEU] Registration goes on even without required fields

Posted: Mon Nov 02, 2009 5:33 pm
by Francesca
Yes, the files were all overwritten and I got no other problems.
And I can see the module is updated because now the "move this user to FEU" icon appears, before there was a broken image.

I think there's no need to launch an upgrader, is there?

Re: [FEU] Registration goes on even without required fields

Posted: Tue Nov 03, 2009 8:39 am
by vilkis
I have no idea then. I don't use FEU 1.6.10 at the moment.
vilkis

Re: [FEU] Registration goes on even without required fields

Posted: Tue Nov 03, 2009 2:17 pm
by jmcgin51
Francesca wrote: I think there's no need to launch an upgrader, is there?
After you upload the new files, you must go to your Module panel and click "upgrade" next to FEU.

Re: [FEU] Registration goes on even without required fields

Posted: Tue Nov 03, 2009 3:04 pm
by Francesca
Ok so now I uploaded the SVN version of FEU, too. I only upgraded SelfRegistration.

But right after the upload, the admin panel doesn't work anymore. Just a blank page with the following PHP error:
Fatal error: Class 'feu_smarty' not found in /web/htdocs/www.etc.../modules/FrontEndUsers/FrontE ... module.php on line 85
I notice that the svn version has a new file in the lib/ directory and it's called "class.feu_smarty.php"..maybe something is wrong with that file?

Here's the line 85 in FrontEndUsers.module.php

Code: Select all

$obj = new feu_smarty($this);

Re: [FEU] Registration goes on even without required fields

Posted: Tue Nov 03, 2009 4:01 pm
by Francesca
I figured out by myself adding the following code in FrontEndUsers.module.php

Code: Select all

require_once(dirname(__FILE__)."/lib/class.feu_smarty.php" );
now Im'g going to test if the registration form works properly

Re: [FEU] Registration goes on even without required fields

Posted: Tue Nov 03, 2009 4:11 pm
by Francesca
No good news, the registration is successfull also without the custom required fields  :(

I found the problem also on bugtracker
http://dev.cmsmadesimple.org/bug/view/3829

Re: [FEU] Registration goes on even without required fields

Posted: Mon Nov 30, 2009 10:14 pm
by jwaldeck
Hi Francesca,

any news about this bug? This is REALLY annoying, have you managed to fix it somehow?

Tks!
jw

Re: [FEU] Registration goes on even without required fields

Posted: Mon Nov 30, 2009 10:47 pm
by vilkis
Hi,
I use FrontEndUsers 1.6.11 and SelfRegistration 1.2.5
If I make the change to Selfregistration module as described in http://dev.cmsmadesimple.org/bug/view/3928
the email is being validated.
If I understand the code well the Selfregistration module performs the validation of custom required fields of type email, multiselect and date, only.
vilkis