hkepad Posted December 21, 2013 Share Posted December 21, 2013 Hi, I wanted change the language of my website, but i have in first "Internal Servor Error" I hav call my hosting serveur and solved it and now i have this : Notice: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' in /home/hkepad/public_html/classes/Cookie.php on line 80Notice: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' in /home/hkepad/public_html/classes/Cookie.php on line 80Warning: Cannot modify header information - headers already sent by (output started at /home/hkepad/public_html/classes/Cookie.php:80) in /home/hkepad/public_html/classes/controller/FrontController.php on line 634Warning: Cannot modify header information - headers already sent by (output started at /home/hkepad/public_html/classes/Cookie.php:80) in /home/hkepad/public_html/classes/controller/FrontController.php on line 635Warning: Cannot modify header information - headers already sent by (output started at /home/hkepad/public_html/classes/Cookie.php:80) in /home/hkepad/public_html/classes/Tools.php on line 130 Anybody know how to solved this error ? Thanks in advance Link to comment Share on other sites More sharing options...
El Patron Posted December 21, 2013 Share Posted December 21, 2013 this is just a notice and would not keep your back or front office from functioning properly. you can however fix the code, classes/Cookie.php on line 80 $this->_cipherTool = new Rijndael(_RIJNDAEL_KEY_, _RIJNDAEL_IV_); change to $this->_cipherTool = new Rijndael('_RIJNDAEL_KEY_', '_RIJNDAEL_IV_'); NOTE: THE ABOVE CHANGE WAS NOT TESTED also, if when you are done debugging it's best to run production shop with errors turned off 4 Link to comment Share on other sites More sharing options...
hkepad Posted December 21, 2013 Author Share Posted December 21, 2013 this is just a notice and would not keep your back or front office from functioning properly. you can however fix the code, classes/Cookie.php on line 80 $this->_cipherTool = new Rijndael(_RIJNDAEL_KEY_, _RIJNDAEL_IV_); change to $this->_cipherTool = new Rijndael('_RIJNDAEL_KEY_', '_RIJNDAEL_IV_'); NOTE: THE ABOVE CHANGE WAS NOT TESTED also, if when you are done debugging it's best to run production shop with errors turned off Thanks work, but now when i change language i have internal servor error, you know why ? Link to comment Share on other sites More sharing options...
El Patron Posted December 21, 2013 Share Posted December 21, 2013 if errors are turned on but not outputting the underlying server error, then from your hosting control panel look for your error log. we would need that error to proceed. Link to comment Share on other sites More sharing options...
hkepad Posted December 22, 2013 Author Share Posted December 22, 2013 Thanks for your reply, now website is work Thanks so much Link to comment Share on other sites More sharing options...
juegosenlamesa Posted May 6, 2014 Share Posted May 6, 2014 I have the same error. i have made this change: this is just a notice and would not keep your back or front office from functioning properly. you can however fix the code, classes/Cookie.php on line 80 $this->_cipherTool = new Rijndael(_RIJNDAEL_KEY_, _RIJNDAEL_IV_); change to $this->_cipherTool = new Rijndael('_RIJNDAEL_KEY_', '_RIJNDAEL_IV_'); NOTE: THE ABOVE CHANGE WAS NOT TESTED also, if when you are done debugging it's best to run production shop with errors turned off and became to work but when i acces to module option i get this error: Warning: is_dir(): open_basedir restriction in effect. File(/home/juegosen/domains/juegosenlamesa.com/public_html/modules/.htaccess/) is not within the allowed path(s): (/home/juegosen/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/juegosen/domains/juegosenlamesa.com/public_html/classes/module/Module.php on line 1261 Warning: is_dir(): open_basedir restriction in effect. File(/home/juegosen/domains/juegosenlamesa.com/public_html/modules/index.php/) is not within the allowed path(s): (/home/juegosen/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/juegosen/domains/juegosenlamesa.com/public_html/classes/module/Module.php on line 1261 is there any relation? pd. Sorry for my english. Link to comment Share on other sites More sharing options...
dkikan Posted June 11, 2020 Share Posted June 11, 2020 The solution is available in the github topic https://github.com/PrestaShop/PrestaShop/issues/15192 or go to the following URL to generate the key value pair for these constants and add in the config/defines.inc.php https://shop.devcustom.net/gen.php 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