Welcome Guest, Not a member yet? Register   Sign In
Getting Error after uploading in server
#1

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


Attached Files Thumbnail(s)
   
Reply
#2

Accordingly to the PHP Manual:

Warning
This function has been DEPRECATED as of PHP 7.1.0. Relying on this function is highly discouraged.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#3

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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB