Jump to content

Edit History

joseantgv

joseantgv

On 12/11/2018 at 10:02 AM, miriam said:

Buenos dias:

 

Me acabo de cambiar de servidor, en el antiguo tenia la version php 5.6 y en el nuevo tengo la version 7.2 y mi prestashop es el 1.6.23

 

Mire por donde mire me saltan errores, parece que todos relacionados con la version php, os pongo un ejemplo:

 

Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in /var/www/vhosts/-----/httpdocs/classes/Rijndael.php on line 124

Warning: openssl_decrypt(): IV passed is only 7 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in /var/www/vhosts/----/httpdocs/classes/Rijndael.php on line 91

 

Alguna idea de como hacer compatible la version php con la tienda prestashop?

 

Un saludo

 

Hola!

 

PHP 5.6 is the minimum supported PHP version. PrestaShop runs perfectly well on PHP 7.1, and we encourage everyone to use that PHP version. In addition, PrestaShop is compatible with PHP 7.2 starting on Prestashop 1.7.4.
So probably, Prestashop 1.6 may have problems with PHP 7.2, we recommended using PHP 7.1

 

http://forge.prestashop.com/browse/PSCSX-10031?focusedCommentId=172712&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-172712

joseantgv

joseantgv

7 hours ago, miriam said:

Buenos dias:

 

Me acabo de cambiar de servidor, en el antiguo tenia la version php 5.6 y en el nuevo tengo la version 7.2 y mi prestashop es el 1.6.23

 

Mire por donde mire me saltan errores, parece que todos relacionados con la version php, os pongo un ejemplo:

 

Warning: Use of undefined constant MCRYPT_RIJNDAEL_128 - assumed 'MCRYPT_RIJNDAEL_128' (this will throw an Error in a future version of PHP) in /var/www/vhosts/-----/httpdocs/classes/Rijndael.php on line 124

Warning: openssl_decrypt(): IV passed is only 7 bytes long, cipher expects an IV of precisely 16 bytes, padding with \0 in /var/www/vhosts/----/httpdocs/classes/Rijndael.php on line 91

 

Alguna idea de como hacer compatible la version php con la tienda prestashop?

 

Un saludo

 

Hola!

 

Parece que son problemas de tu servidor, no de PS, que debería ser totalmente compatible con PHP 7.2:

 

https://stackoverflow.com/questions/29993399/use-of-undefined-constant-mcrypt-rijndael-128-assumed-mcrypt-rijndael-128

×
×
  • Create New...