CMS MADE SIMPLE FORGE

Self Registration

 

[#11909] PHP7.2: Mcrypt functionality is not enabled

avatar
Created By: Freud (Freud)
Date Submitted: Tue Oct 16 07:42:02 -0400 2018

Assigned To: Robert Campbell (calguy1000)
Version: 1.14.2
CMSMS Version: 2.2.8
Severity: Major
Resolution: None
State: Open
Summary:
PHP7.2: Mcrypt functionality is not enabled
Detailed Description:
I found out that PHP7.2 comes without the mcrypt-extension.
After registering a new user a blank screen appears with the message "Mcrypt
functionality is not enabled."
Is there a way to fix this?


History

Comments
avatar
Date: 2018-10-24 08:34
Posted By: Deleted User (deleteduser_11200)

Can confirm this. 

Mcrypt is deprecated in php 7.1 and removed from php 7.2:

https://wiki.php.net/rfc/mcrypt-viking-funeral

SelfRegistration.module.php:

./SelfRegistration.module.php:      if( !function_exists('mcrypt_module_open') )
die('Mcrypt functionality is not enabled.');

For the moment the only workaround for php 7.2 is compiling mcrypt yourself,
hope this module will be patched to support standard php environments.

Thank you.