Wrong parameter count in Self Registration / FEU

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
User avatar
groupewibi
Forum Members
Forum Members
Posts: 35
Joined: Fri Jan 11, 2008 8:02 am
Location: India

Wrong parameter count in Self Registration / FEU

Post by groupewibi »

Hi,

I'm using FEU and Sel Registration for a member website.
Member has to register, and the admin has to approve to put the new user in FEU.
That's was working fine when i was using : FEU 1.8.2 and SelfRegistration1.2.5.

I'm did an upgrade to  FrontEndUsers 1.8.5 and SelfRegistration1.3.2.
Nothing is working anymore.

1. I got an error on the Registration Page

Code: Select all


Warning: Wrong parameter count for min() in /home/website/modules/SelfRegistration/functions.php on line 527

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/website/lib/classes/module_support/modform.inc.php on line 360

This line is repeat a lot.

On the Forum, i find a similars issues, suppose to come to ARRAY/STRING definition. http://forum.cmsmadesimple.org/index.php?topic=40064.msg189662 and http://forum.cmsmadesimple.org/index.php?topic=44052.0

I did the changes required but still the same and check the svn and the issue traking list, but no response find.  

I made some few test and it's looks like it's coming when we using multiselect or dropown list as fields.
It's been a while now i try to solve this issue, and i don't find anything, except the fact than if i using the previous Selregistration Module 1.2.5.

2. Self Registration is validate automaticly user to FEU.
On the previous version i was using, when a user regsiter, that's was coming directly on Selfregsitration, and i had a button to "Push this user in Front End User". A sort of validation from the admin before approve this user.
Now, mainwhile several test, tags, and differents parameter, when register, the user is automaticly move in FEU, and i don't see it any more in Self Registration.

Is somebody have any idea ?

Working on CMS Made Simple 1.6.7


B Regards, to all
Last edited by groupewibi on Sun May 16, 2010 12:53 pm, edited 1 time in total.
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: Wrong parameter count in Self Registration / FEU

Post by jmcgin51 »

Can't help you with issue #1, but for #2 what you're seeing is the normal behavior.  The only time you should be using the "Push this user into FEU" feature is if the user has not completed the registration confirmation.

If you want to manually approve registrations, then you need to set up a group with NO permissions, and have all new registrations become members of this group.  The admin gets an email on registration, and can then move the user from the original group into the group with the appropriate permissions.
User avatar
groupewibi
Forum Members
Forum Members
Posts: 35
Joined: Fri Jan 11, 2008 8:02 am
Location: India

Re: Wrong parameter count in Self Registration / FEU

Post by groupewibi »

Thanks for the respond.

I thought than the push in FEU was an approval functionality.
By the way a function like that might be nice.

I'm still working on the first issue and still have my error.
Post Reply

Return to “Modules/Add-Ons”