Can"t login to the admin panel PrestaShop 1.6.1.12
Good afternoon!
A couple of days ago I encountered a problem, I can not enter the admin panel of the site in any way, before that everything worked perfectly, it's standing on VPS with it (VPS) no manipulations were done (what would I sin on some curve library or deleted some kind of file).
works on Debian
PHPÂ 5.6
when you try to log in, the page is simply refreshed and nothing happens (
The included debug issue is:
Warning: mcrypt_decrypt(): Key of size 33 not supported by this algorithm.
Only keys of sizes 16, 24 or 32 supported in /var/www/prestashop/classes/Rijndael.phpon line 68
I delete 1 character from the end in the line define ('_ RIJNDAEL_KEY_' produces:
Warning: mcrypt_decrypt(): Received initialization vector of size 17, but size 16
is required for this encryption mode in /var/www/prestashop/classes/Rijndael.phpon line 68
line 68 from the file Rijndael.php:
return substr(mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $this->_key,
base64_decode($ciphertext), MCRYPT_MODE_CBC, $this->_iv), 0, $length);
What was this?