CodeIgniter Forums
Getting Error after uploading in server - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1)
+--- Forum: Lounge (https://forum.codeigniter.com/forumdisplay.php?fid=3)
+--- Thread: Getting Error after uploading in server (/showthread.php?tid=69115)



Getting Error after uploading in server - Khadeer - 10-10-2017

A PHP Error was encountered
Severity: 8192
Message: Function mcrypt_get_iv_size() is deprecated
Filename: libraries/Encrypt.php
Line Number: 291


A PHP Error was encountered
Severity: 8192
Message: Function mcrypt_decrypt() is deprecated
Filename: libraries/Encrypt.php
Line Number: 300



RE: Getting Error after uploading in server - InsiteFX - 10-10-2017

Accordingly to the PHP Manual:

Warning
This function has been DEPRECATED as of PHP 7.1.0. Relying on this function is highly discouraged.


RE: Getting Error after uploading in server - MatridTech - 10-10-2017

It is best not to use mcrypt, it is abandonware, has not been updated in years mcrypt has many outstanding bugs dating back to 2003. The mcrypt-extension is deprecated will be removed in PHP 7.2. Instead consider using defuse (https://github.com/defuse/php-encryption) or RNCryptor (https://github.com/RNCryptor), they provide a complete solution and are being maintained and are correct.