miriam Posted December 11, 2018 Share Posted December 11, 2018 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 124Warning: 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 More sharing options...
joseantgv Posted December 11, 2018 Share Posted December 11, 2018 (edited) 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 124Warning: 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 December 12, 2018 by joseantgv (see edit history) Link to comment Share on other sites More sharing options...
Adrian Posted December 11, 2018 Share Posted December 11, 2018 Prueba a poner la version 7.0. He leido a gente que le ha funcionado. Link to comment Share on other sites More sharing options...
miriam Posted January 1, 2019 Author Share Posted January 1, 2019 Me toco cambiar de servidor, parece que era un tema de permisos Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now