Jump to content

after upgrade 1.6.1.11 error mcrypt_encrypt / decrypt


nuno.note

Recommended Posts

Hi
I need help, please.
After upgrading from 1.6.1.4 to 1.6.1.11
I have problems when entering the back office and I had to turn off PS_CIPHER_ALGORITHM 0
 
Server information Linux #1 SMP Debian 3.16.39-1+deb8u2 (2017-03-07) x86_64

Server software version Apache/2.4.10 (Debian)

PHP version 7.0.16-1~dotdeb+8.1     

 

MySQL version 10.0.30-MariaDB-1~jessie

 

ERROR APACHE

 

mcrypt_encrypt(): Received initialization vector of size 7, but size 16 is required for this encryption mode ......classes/Rijndael.php on line 51

 

 

mcrypt_decrypt(): Received initialization vector of size 7, but size 16 is required for this encryption ..........

classes/Rijndael.php on line 68

 

I can not find a solution to the problem in the forum, just disable Rijndael with mcrypt lib.

 

my file settings.inc.php:

 

define('_PS_VERSION_', '1.6.1.11');
define('_RIJNDAEL_KEY_', '[spam-filter]RIJNDAEL_KEY[spam-filter]');
define('_RIJNDAEL_IV_', '[spam-filter]RIJNDAEL_IV[spam-filter]');
 
 
Any idea

 

thanks

Link to comment
Share on other sites

Is solved

 

missing

 

RIJNDAEL_KEY

RIJNDAEL_IV

file settings.inc.php:

 

define('_PS_VERSION_', '1.6.1.11');
define('_RIJNDAEL_KEY_', '[spam-filter]RIJNDAEL_KEY[spam-filter]');
define('_RIJNDAEL_IV_', '[spam-filter]RIJNDAEL_IV[spam-filter]');
 
 
What I did not understand is that since version 1.6 was never completed and it worked
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...