CMS MADE SIMPLE FORGE

Members Area Registration

 

[#12806] Fatal error during MAMSRegistration installation - missing property dflt_emailuseredited_texttemplate

avatar
Created By: Magal (magallo)
Date Submitted: Thu Sep 25 03:50:21 -0400 2025

Assigned To: Fernando Morgado (JoMorg)
Version: 1.0.2
CMSMS Version: 2.2.21
Severity: Critical
Resolution: Fixed
State: Open
Summary:
Fatal error during MAMSRegistration installation - missing property dflt_emailuseredited_texttemplate
Detailed Description:
In the installation file (method.install.php line 115), the code was trying to
access a property that didn't exist:
$this->SetTemplate('mamsreg_emailuseredited_texttemplate',
$this->dflt_emailuseredited_texttemplate);

The Solution:
Added the missing property to the MAMSRegistration class:

var $dflt_emailuseredited_texttemplate = '
Greetings {$name} welcome to {sitename}. This email is being sent because,
although you have already registered with {sitename}, there was an error in your
input. The administrator has done his best to correct this data, and you are now
being sent an updated registration form. Please click on the following link and
enter your username, password, and the unique code below

Follow this link: {$url}
{if !empty($password)}Password: {$password}{/if}
Code: {$code}
';


History

Comments
avatar
Date: 2025-10-27 05:24
Posted By: Fernando Morgado (JoMorg)

Fixed in SVN and ready for release
      
Updates

Updated: 2025-10-27 05:24
resolution_id: => 7