Jump to content
Ilariod

Problem with prestashop 1.6

Recommended Posts

Versione di PrestaShop 1.6.1.23

Versione di PHP 7.0.33

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/baronidecarohome.it/httpdocs/classes/Rijndael.php on line 91

Parse error: syntax error, unexpected 'stores' (T_STRING), expecting ',' or ')' in /var/www/vhosts/baronidecarohome.it/httpdocs/controllers/front/StoresController.php on line 291

Appena vado in seo & url e modifico qualsiasi voce mi escono questi due errori.

When i go to seo& url and modify all voice there are this error .

HTTP ERROR 500

Share this post


Link to post
Share on other sites
Posted (edited)

It's not an error, but just a warning. Turn off debug mode by editing /config/defines.inc.php and changing this section:

/* Debug only */
if (!defined('_PS_MODE_DEV_')) {
	define('_PS_MODE_DEV_', true);
}
/* Compatibility warning */
define('_PS_DISPLAY_COMPATIBILITY_WARNING_', true);

to this:

/* Debug only */
if (!defined('_PS_MODE_DEV_')) {
	define('_PS_MODE_DEV_', false);
}
/* Compatibility warning */
define('_PS_DISPLAY_COMPATIBILITY_WARNING_', false);

This way warning won't be showing up, but errors will break your store and show blank page. Above settings should be true only in development. The moment you set your shop on production site these settings should be changed to false.

Edited by Sharak

Share this post


Link to post
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

×

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More