Selfregistration Module - No link on Confirmation email

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
User avatar
forest-guy
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 23, 2009 11:10 pm
Location: Albuquerque, New Mexico, USA

Selfregistration Module - No link on Confirmation email

Post by forest-guy »

Just finished upgrading/rebuilding my site from CMSMS 1.x to CMSMS 2.2.6. Previously I used the SelfRegistration Module and all worked fine out of the box until CMSMail no longer worked with the updated version of PHP I had to migrate to on 1 and 1. Once rebuilt the mailings are once again working BUT there is no link displayed in the Confirmation Email that is sent with the verification code:
Greetings [my email] welcome to [site name] . This email is being sent because somebody registered for access to http://[url address] using this email address. If this was you, please click on the following link and enter your username, password, and the unique code below

Follow this link:

or this link:

Code: 1EC6E73A90388DD84DB0
I have set my preferences for the page for verification form to "none" and also to a blank page I created for this process. Neither seem to give me the links on the confirmation email. I don't recall it being this much of a problem when I set it up under CMSMS 1.x.

Thanks for any insight you can provide.

----------------------------------------------

Cms Version: 2.2.6

Installed Modules:

AdminSearch: 1.0.4
CGCalendar: 2.5
CGExtensions: 1.59.1
CGSimpleSmarty: 2.1.7
CMSContentManager: 1.1.6
CMSMailer: 5.2.14
CmsJobManager: 0.1.2
DesignManager: 1.1.4
FileManager: 1.6.5
FilePicker: 1.0.2
FrontEndUsers: 2.8.1
MenuManager: 1.50.3
MicroTiny: 2.2.2
ModuleManager: 2.1.3
Navigator: 1.0.8
News: 2.51.3
Search: 1.51.3
SelfRegistration: 1.13
Uploads: 1.25.8


Config Information:

php_memory_limit:
max_upload_size: 64000000
url_rewriting: none
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: America/Denver
permissive_smarty: false


Php Information:

phpversion: 5.6.33
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 22517
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 256M
max_execution_time: 50000
register_globals: Off (False)
output_buffering: 0
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 64M
upload_max_filesize: 64M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On


Performance Information:

allow_browser_cache: On (True)
browser_cache_expiry: 60
php_opcache: Off (False)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
auto_clear_cache_age: On (True)

Server Information:

Server Software: Apache
Server Api: cgi-fcgi
Server Os: Linux Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux On Linux info 3.0 #1337 SMP Tue Jan 01 00:00:00 CEST 2000 all GNU/Linux
Server Db Type: MySQL (mysqli)
Server Db Version: 5.5.59
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
----------------------------------------------
User avatar
forest-guy
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 23, 2009 11:10 pm
Location: Albuquerque, New Mexico, USA

Re: Selfregistration Module - No link on Confirmation email

Post by forest-guy »

Oh come on!
So I saw I needed to upgrade several packages:

CGCalendar: 2.5.1
CGExtensions: 1.60
CGSimpleSmarty: 2.1.8
FrontEndUsers: 2.9
SelfRegistration: 1.14

So thinking this might solve my issue I upgraded them.

Now when I click the "Submit" button the screen blinks and returns to the completed form. No Post Registration Template, No Confirmation Email. Seems like we are going backwards here.

Help!
webform
Power Poster
Power Poster
Posts: 458
Joined: Sat Nov 25, 2006 3:39 pm
Location: Copenhagen, Denmark

Re: Selfregistration Module - No link on Confirmation email

Post by webform »

Reset your module templates as you can't reuse the old template even after a module upgrade.

You got to built new module templates based on the modules default templates.
User avatar
forest-guy
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 23, 2009 11:10 pm
Location: Albuquerque, New Mexico, USA

Re: Selfregistration Module - No link on Confirmation email

Post by forest-guy »

Ok. I'm using the unmodified default templates until I get it working. Here is what I did.
1. Uninstalled and removed Self Registration module
2. Installed Self Registration 1.12 - moves forward after submit, mails confirmation, no link in the message. (at least I'm back to where I started).
3. Updated to Self Registration 1.13 - moves forward after submit, mails confirmation, no link in the message.
4. Updated to Self Registration 1.14 - Submit fails with "Invalid form submission (some security data missing or invalid). Note - I haven't changed anything else or the defaults in Self Registration (settings and templates). (In my previous reply I thought it wasn't doing anything but on closer inspection this error was displayed at the top of the form).
5. Uninstalled and removed Self Registration module (v 1.14)
6. Installed Self Registration 1.13 - AMAZING - it submits, mails confirmation, the message the default text and this nasty looking huge link in it:

Code: Select all

Follow this link: http://www.agmc.info/index.php?mact=SelfRegistration,cntnt01,default,0&cntnt01sr_data=YToyOntzOjE3OiJzcl9pbnB1dF91c2VybmFtZSI7czoyOToibGFwaWRhcnlAam9obnN0b25lZGVzaWducy5jb20iO3M6MTM6InNyX2lucHV0X2NvZGUiO3M6MjA6IjE3Rjc4NzE3MDlCMDA1NUY3QjdDIjt9&cntnt01returnid=41
When I click on the link it opens up a Verify Registration page which has my email and verification code already entered. All I have to do is type in my password and hit the Submit button.
BUT... when I do that I get the message: Invalid Parameters. I can go no further.

Making progress at least. Now just have to figure out what it is looking for that is invalid.

Any ideas?
webform
Power Poster
Power Poster
Posts: 458
Joined: Sat Nov 25, 2006 3:39 pm
Location: Copenhagen, Denmark

Re: Selfregistration Module - No link on Confirmation email

Post by webform »

Have you reset to default template on the confirmation page?
User avatar
forest-guy
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 23, 2009 11:10 pm
Location: Albuquerque, New Mexico, USA

Re: Selfregistration Module - No link on Confirmation email

Post by forest-guy »

Yes. As a matter of fact I have reset all the templates used in Self Registration back to the default each time I have reinstalled or upgraded.

I don't know if there is any connection, but since Self Registration has a dependency on Front End User... Here are my settings for Front End User:
FrontEndUsers Settings:
General Settings:
Authentication Module/Method: FEU Standard Authentication
Automatically Create Unknown Users: No
Allow users to login more than once: [ ] unchecked
Default user expiry period: 60 (months)
Generate random username when adding new users: [ ] unchecked
Use Front-end User specific permissions?: [X] checked
Session and Cookie Settings:
Session Timeout (seconds): 1800
User Expiry Interval: 0
Times for forced logout: [ ] Blank
Exclude users that have been active in (minutes): 0
Property Settings:
Image Destination Path: _feusers
Image File Extensions that Users allowed to upload: .gif,.png,.jpg
Protected Page Settings:
Allowed Groups: active

Authentication Settings
Require membership in atleast one group: Yes
Default Group for new users: pending
Allow users to request their username: Yes
Allow Changing Username: No
Allow users to request a password change: Yes
Length of password field: 20
Minimum Password Length: 6
Maximum Password Length: 20
Require a strong password: No
Require one of these characters in the password: [ ] Blank
Length of username field: 40
Minimum Username Length: 4
Maximum Username Length: 40
The name of the "Remember Me" cookie: xf9d1671
Use cookies to keep logins alive: No
Email address is username: Yes
Allow duplicate emails: No
Allow duplicate "forgot password" reminders?: No
Display Settings
Sign in button label: Sign In
Mark required fields with: *
Hilite required fields in: blue
Secure Field Marker: ^^
Secure Field Color: yellow
Hidden field marker: !
Hidden field color: green

Redirection Settings:
PageID/Alias for Forgot Password form: [ ] Blank
PageID/Alias for Change Settings form: [ ] Blank
PageID/Alias to jump to after login *: [ ] Blank
PageID/Alias to jump to after logout *: [ ] Blank
Page ID/Alias to Handle the Verification Process *: [ ] Blank
PageID/Alias to jump to after code verification *: [ ] Blank
PageID/Alias to jump to after change settings: [ ] Blank
Made the mistake last night of thinking "Maybe if I Upgraded now to 1.14 it would all work just fine". Boy was that a mistake. Nothing worked and when I uninstalled and attempted to reinstall - Front End User would abort. I ended up having delete and completely reload my site from my sandbox copy. I am at least getting the huge ugly link in the confirmation message - but still get the "Invalid Parameters" error when I attempt to submit the validation page. So here is where all these modules currently stand (all with upgrade available):
CGCalendar: 2.5
CGExtensions: 1.59.1
CGSimpleSmarty: 2.1.7
CMSMailer: 5.2.14
FrontEndUsers: 2.8.1
SelfRegistration: 1.13
User avatar
forest-guy
Forum Members
Forum Members
Posts: 32
Joined: Fri Jan 23, 2009 11:10 pm
Location: Albuquerque, New Mexico, USA

Re: Selfregistration Module - No link on Confirmation email

Post by forest-guy »

I gave up. It seemed like everything I did further broke my site.

I had originally built in on my home server and tested everything but the mail options.
I followed the instructions to move the completed files and database to a different server.
It looked like it worked - but clearly something got corrupted.

So I finally just deleted everything on the actual site (1 and 1), and installed a clean copy with an empty database. I have spent the last 8 hours painstakingly copying the contents of templates, stylesheets, and pages from my local copy to the internet copy. Things seem to be working as they should. I have just about everything operational - even the self registration process. (I made it a bare bones requirement - just enter email, passwordx2, and your last name). Made it all the way through the confirmation and validation.

It bombed out when I tried to actually sign into the protected area with an error stating: "Invalid form submission (some security data is missing or invalid)". It's probably something I forgot to link or put into the Front End User templates. I'm too tired to work on it any further.

I consider my original issue solved.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Selfregistration Module - No link on Confirmation email

Post by Rolf »

forest-guy wrote:It bombed out when I tried to actually sign into the protected area with an error stating: "Invalid form submission (some security data is missing or invalid)". It's probably something I forgot to link or put into the Front End User templates. I'm too tired to work on it any further.
Read viewtopic.php?f=7&t=77974
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Locked

Return to “Modules/Add-Ons”