Jump to content

Problema con la version PHP


miriam

Recommended Posts

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

 

Link to comment
Share on other sites

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

Edited by joseantgv (see edit history)
Link to comment
Share on other sites

  • 3 weeks later...

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