[split] mcrypt deprecated - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: [split] mcrypt deprecated (/showthread.php?tid=69396) |
[split] mcrypt deprecated - sameernaqvi - 11-14-2017 (09-25-2017, 10:32 AM)jlp Wrote: CodeIgniter 3.1.6 was released today, with some changes and some bug fixes. Thanks for the continuous updates. Last week I have installed php7.1 on my development machine in order to upgrade all the company's websites. Every think is seems fixed now except the following errors. A PHP Error was encountered Severity: 8192 Message: Function mcrypt_get_iv_size() is deprecated Filename: libraries/Encrypt.php Line Number: 315 A PHP Error was encountered Severity: 8192 Message: Function mcrypt_decrypt() is deprecated Filename: libraries/Encrypt.php Line Number: 325 I am using codeigniter 3.1.6 though. It seems like required to update the core Encrypt.php where the functions are mcrypt_get_iv_size() and mcrypt_decrypt() as they are deprecated. RE: [split] mcrypt deprecated - ciadmin - 11-14-2017 mcrypt has been deprecated and is no longer used. You need to update your code. https://www.codeigniter.com/user_guide/changelog.html?highlight=mcrypt#version-3-1-4 RE: [split] mcrypt deprecated - Narf - 11-14-2017 CI_Encrypt has itself been deprecated since 3.0.0 ... RE: [split] mcrypt deprecated - sameernaqvi - 11-14-2017 Thanks for your prompt reply. It's really helpful. |