Self Registration 1.1.0 Install Problem

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Self Registration 1.1.0 Install Problem

Post 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?
cyberman

Re: Self Registration 1.1.0 Install Problem

Post by cyberman »

Please post your module call.
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Self Registration 1.1.0 Install Problem

Post 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)
cyberman

Re: Self Registration 1.1.0 Install Problem

Post 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'}
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Self Registration 1.1.0 Install Problem

Post by slloyd »

I tried that. I also tried using quotations. It doesn't work. Any other guesses?
cyberman

Re: Self Registration 1.1.0 Install Problem

Post by cyberman »

Which CMSms version do you are using?
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Self Registration 1.1.0 Install Problem

Post by slloyd »

I'm using cmsms 1.0.4.
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Self Registration 1.1.0 Install Problem

Post by slloyd »

Any ideas? Anyone?
cyberman

Re: Self Registration 1.1.0 Install Problem

Post 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.
slloyd
Forum Members
Forum Members
Posts: 195
Joined: Mon Apr 24, 2006 9:09 pm

Re: Self Registration 1.1.0 Install Problem

Post by slloyd »

Yes, yes, yes.
mig

Re: Self Registration 1.1.0 Install Problem

Post 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 :-)
maxim

Re: Self Registration 1.1.0 Install Problem

Post 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.
alby

Re: Self Registration 1.1.0 Install Problem

Post 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
maxim

Re: Self Registration 1.1.0 Install Problem

Post 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
alby

Re: Self Registration 1.1.0 Install Problem

Post 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
Locked

Return to “[locked] Installation, Setup and Upgrade”