Jump to content

1click upgrade no loggin in backoffice


Recommended Posts

Hi, yesterday I did the prestashop upgrade using the 1 click function on the back office.

 

The process seems to finish without problem.

 

The session on the back office was closed by the upgrade process after upgrade finish and then I could not get access again to it. The shop is not showing a loggin problem, the email / pass I was entering was right.

 

So, I took a look on the server messages and I could see the following lines that correspond with the loggins tries:

 

[Wed May 17 17:54:45.414879 2017] [proxy_fcgi:error] [pid 21293] [client 83.39.205.83:54266] AH01071: Got error 'PHP message: PHP Warning:  mcrypt_decrypt(): Received initialization vector of size 18, but size 16 is required for this encryption mode in /usr/home/eloy-mp/apps/prestashop/classes/Rijndael.php on line 68\nPHP message: PHP Warning:  mcrypt_encrypt(): Received initialization vector of size 18, but size 16 is required for this encryption mode in /usr/home/eloy-mp/apps/prestashop/classes/Rijndael.php on line 51\n', referer: http://prestashop.eloy-mp.com/ps_admin/index.php?controller=AdminLogin&token=9ec9ee938e574169a1eedaab3a77d244
[Wed May 17 17:54:45.502741 2017] [proxy_fcgi:error] [pid 21293] [client 83.39.205.83:54266] AH01071: Got error 'PHP message: PHP Warning:  mcrypt_decrypt(): Received initialization vector of size 18, but size 16 is required for this encryption mode in /usr/home/eloy-mp/apps/prestashop/classes/Rijndael.php on line 68\nPHP message: PHP Warning:  mcrypt_encrypt(): Received initialization vector of size 18, but size 16 is required for this encryption mode in /usr/home/eloy-mp/apps/prestashop/classes/Rijndael.php on line 51\n', referer: http://prestashop.eloy-mp.com/ps_admin/index.php?controller=AdminLogin&token=9ec9ee938e574169a1eedaab3a77d244
[Wed May 17 17:54:54.366685 2017] [proxy_fcgi:error] [pid 21452] [client 83.39.205.83:54267] AH01071: Got error 'PHP message: PHP Warning:  mcrypt_decrypt(): Received initialization vector of size 18, but size 16 is required for this encryption mode in /usr/home/eloy-mp/apps/prestashop/classes/Rijndael.php on line 68\nPHP message: PHP Warning:  mcrypt_encrypt(): Received initialization vector of size 18, but size 16 is required for this encryption mode in /usr/home/eloy-mp/apps/prestashop/classes/Rijndael.php on line 51\n', referer: http://prestashop.eloy-mp.com/ps_admin/index.php?controller=AdminLogin&token=9ec9ee938e574169a1eedaab3a77d244&redirect=AdminDashboard
[Wed May 17 17:54:54.435419 2017] [proxy_fcgi:error] [pid 21452] [client 83.39.205.83:54267] AH01071: Got error 'PHP message: PHP Warning:  mcrypt_decrypt(): Received initialization vector of size 18, but size 16 is required for this encryption mode in /usr/home/eloy-mp/apps/prestashop/classes/Rijndael.php on line 68\nPHP message: PHP Warning:  mcrypt_encrypt(): Received initialization vector of size 18, but size 16 is required for this encryption mode in /usr/home/eloy-mp/apps/prestashop/classes/Rijndael.php on line 51\n', referer: http://prestashop.eloy-mp.com/ps_admin/index.php?controller=AdminLogin&token=9ec9ee938e574169a1eedaab3a77d244&redirect=AdminDashboard
[Wed May 17 17:54:54.516066 2017] [proxy_fcgi:error] [pid 21452] [client 83.39.205.83:54267] AH01071: Got error 'PHP message: PHP Warning:  mcrypt_decrypt(): Received initialization vector of size 18, but size 16 is required for this encryption mode in /usr/home/eloy-mp/apps/prestashop/classes/Rijndael.php on line 68\nPHP message: PHP Warning:  mcrypt_encrypt(): Received initialization vector of size 18, but size 16 is required for this encryption mode in /usr/home/eloy-mp/apps/prestashop/classes/Rijndael.php on line 51\n', referer: http://prestashop.eloy-mp.com/ps_admin/index.php?controller=AdminLogin&token=9ec9ee938e574169a1eedaab3a77d244&redirect=AdminDashboard
[Wed May 17 17:56:24.178185 2017] [proxy_fcgi:error] [pid 23526] [client 66.249.93.15:49474] AH01071: Got error 'PHP message: PHP Warning:  mcrypt_encrypt(): Received initialization vector of size 18, but size 16 is required for this encryption mode in /usr/home/eloy-mp/apps/prestashop/classes/Rijndael.php on line 51\n'

I was looking information over inet about the problem and finally I found a solution that works. The solution is disable by database encryption, doing an update in configuration table.

 

The question is that, at the moment, I prefer to know what's the problem and solve it rather than change encryption mode to disable....

 

Can someone help?

 

The initial version was define('_PS_VERSION_', '1.6.0.11'); and the actual (installed) version is define('_PS_VERSION_', '1.6.1.13');

 

The files settings.inc.php and settings.inc.old.php are the same except for the line _PS_VERSION_

Edited by Marvell (see edit history)
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...