Page 1 of 2

Self Registration 1.1.0 Install Problem

Posted: Thu Apr 12, 2007 5:15 am
by slloyd
I can't get the Self Registration to work. I get this message when placing the code on a page:
Error!

Insufficient number (or incorrect) parameters supplied to module
This is something simple I'm missing, right?

Re: Self Registration 1.1.0 Install Problem

Posted: Thu Apr 12, 2007 6:24 am
by cyberman
Please post your module call.

Re: Self Registration 1.1.0 Install Problem

Posted: Thu Apr 12, 2007 5:14 pm
by slloyd
(BTW, I'm using SelfRegistration 1.1.0)

I tried just using:

{cms_module module=SelfRegistration}

I get the error message posted above (in previous post).

When I use this:

{cms_module module=SelfRegistration group=User}

with "User" being the group I setup in FrontEndUser (and I created two users in that group), the contents of the page disappears.

When I use this:

{cms_module module=SelfRegistration group=usergroup}

I get this:
Error!

Group name specified does not exist

Also, another problem I'm having is I tried changing and adding a couple fields to the group "Users" I created in FrontEndUser, and now it won't let me set them to "required" and it won't let me order them and they don't show up on the form. (FrontEndUser 1.1.3-beta3)

Re: Self Registration 1.1.0 Install Problem

Posted: Fri Apr 13, 2007 5:03 am
by cyberman
slloyd wrote: {cms_module module=SelfRegistration}
Hmm, some modules needs "escaped" parameters (not sure, if it's the right word).
{cms_module module='SelfRegistration'}

Re: Self Registration 1.1.0 Install Problem

Posted: Fri Apr 13, 2007 8:35 pm
by slloyd
I tried that. I also tried using quotations. It doesn't work. Any other guesses?

Re: Self Registration 1.1.0 Install Problem

Posted: Sun Apr 15, 2007 9:41 am
by cyberman
Which CMSms version do you are using?

Re: Self Registration 1.1.0 Install Problem

Posted: Mon Apr 16, 2007 11:09 pm
by slloyd
I'm using cmsms 1.0.4.

Re: Self Registration 1.1.0 Install Problem

Posted: Sat Apr 21, 2007 11:36 pm
by slloyd
Any ideas? Anyone?

Re: Self Registration 1.1.0 Install Problem

Posted: Mon Apr 23, 2007 9:50 am
by cyberman
Have you installed FrontendUser module?

Have you done instruction from help link?
In order to use this module, you must create a property of type "Email Address" in the FrontendUsers module, and associate that property with the group to be used for self registration.

Re: Self Registration 1.1.0 Install Problem

Posted: Tue Apr 24, 2007 4:37 am
by slloyd
Yes, yes, yes.

Re: Self Registration 1.1.0 Install Problem

Posted: Sat Jun 23, 2007 8:10 am
by mig
I had the same problem wirh SRM & FEUM..

After reading your post I had a doubt..

So I went to the row:

{cms_module module=SelfRegistration group=usergroup}

and changed to:

{cms_module module=SelfRegistration group="name of the group I choosed for web users"}

Note that I put the group name between " "
Well, now everything works!

And, more, I wasn't able to login with a ID/pwd entered by the admin console.. doing the registration via web, I realized that the ID for web access are different from the one entered from the menu User & Groups..

Looking better, I find out that in FEUM module, in the tab Users, there's a Add User link at the bottom of the page..

So there are 2 users DB:
one for CMS administration
one for web access

???

well, I'm going ahead in discovering this CMS :-)

Re: Self Registration 1.1.0 Install Problem

Posted: Sat Sep 15, 2007 11:50 pm
by maxim
hi there,

My problem with Self Reg is that it only loads half the page. No errors, just stops before returning any fields for capturing.

I have downloaded and installed Frontend User management (1.2) and Self registration module (ver 1.1.1)

My link in my content page is:

{cms_module module=SelfRegistration group="reg"}

where reg is a group i created. I created a property called email of type email address.

i think i have followed all instructions to the T - but no luck.

pls can someone be of assistance.  Thx.

Re: Self Registration 1.1.0 Install Problem

Posted: Sun Sep 16, 2007 7:23 am
by alby
maxim wrote: hi there,

My problem with Self Reg is that it only loads half the page. No errors, just stops before returning any fields for capturing.

I have downloaded and installed Frontend User management (1.2) and Self registration module (ver 1.1.1)

My link in my content page is:

{cms_module module=SelfRegistration group="reg"}

where reg is a group i created. I created a property called email of type email address.

i think i have followed all instructions to the T - but no luck.

pls can someone be of assistance.  Thx.
Check your phpinfo, maybe you have 8 MB of memory_limit
Try to set, in top of include.php: ini_set('memory_limit', '16M');


If not, turn true debug in config.php and check for error (Error (0) it's debug only)
If ok, check your httpd.log for error

Alby

Re: Self Registration 1.1.0 Install Problem

Posted: Mon Sep 17, 2007 1:44 am
by maxim
Hi alby,

Thank you for your response:

Im running the latest version of apache 2.2.4 on a XP Home Machine.
My memory limit is: 128M
Debug works fine in all pages - except this one - does not even get to it.

So checked access.log and there it was a 500 error. I searched the web to try fix it ( uncommented mod_rewrite.so, AllowOverride to ALL) and did everything recommended except the .htaccess as im not using it, and im still getting the 500 error.

So checked error logs and get:
PHP Notice:  Undefined offset:  0 in ..\\modules\\SelfRegistration\\action.default.php on line 78, referer: http://localhost/cms/
PHP Fatal error:  Cannot pass parameter 2 by reference in ..\\modules\\SelfRegistration\\action.default.php on line 82, referer: http://localhost/cms/

Any further advice would be appreciated.

Mark

Re: Self Registration 1.1.0 Install Problem

Posted: Mon Sep 17, 2007 9:38 am
by alby
maxim wrote: So checked error logs and get:
PHP Notice:  Undefined offset:  0 in ..\\modules\\SelfRegistration\\action.default.php on line 78, referer: http://localhost/cms/
PHP Fatal error:  Cannot pass parameter 2 by reference in ..\\modules\\SelfRegistration\\action.default.php on line 82, referer: http://localhost/cms/

Code: Select all

$relations = $feusers->GetGroupPropertyRelations( $grpid );
Your FEU work?
Try insert FEU tag and logged. If you have some error, uninstall SelfRegistration and FEU and install FEU and SelfRegistration again

Try to comment this row (#82):
// $module->_DisplayErrorPage( $id, array(), $returnid, $relations[1] );
What happened?

Alby