• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[split] mcrypt deprecated

#1
(09-25-2017, 11:32 AM)jlp Wrote: CodeIgniter 3.1.6 was released today, with some changes and some bug fixes.

Changes: Updated the 'redis' and 'memcached' session drivers to reduce the potential for locking race conditions; deprecated the cache_apc driver.

Bug fixes: Database, Image, Loader, profiler and Query Builder libraries.

This is recommended for all users of version 3. Download v3.1.6 now, and we encourage you to read the changelog, and to check the directions for upgrading from a previous version.

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

#2
mcrypt has been deprecated and is no longer used. You need to update your code.
https://www.codeigniter.com/user_guide/c...sion-3-1-4
Reply

#3
CI_Encrypt has itself been deprecated since 3.0.0 ...
Reply

#4
Thanks for your prompt reply.
It's really helpful.
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
2 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2017 MyBB Group.