gedsab Posted February 4, 2015 Share Posted February 4, 2015 Hello there, I have installed a fresh copy of Prestashop 1.6.0.9, front panel works fine, but to the back-office, like administrator, I cannot access. Tried to clear browser history,cashe cookies etc. Tried to clear smarty cache. Tried to change the value of IP check from false to true. Tried to write these line into config file : $cfg['ForceSSL'] = true;. Enabled error reporting and getting this one: Notice: Use of undefined constant _RIJNDAEL_KEY_ - assumed '_RIJNDAEL_KEY_' in /home/ersi/domains/ersi.lt/public_html/classes/Cookie.php on line 80 Notice: Use of undefined constant _RIJNDAEL_IV_ - assumed '_RIJNDAEL_IV_' in /home/ersi/domains/ersi.lt/public_html/classes/Cookie.php on line 80Warning: mcrypt_decrypt(): Key of size 14 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in /home/ersi/domains/ersi.lt/public_html/classes/Rijndael.php on line 70 But all these work was worthy.. Please can anyone help me? Link to comment Share on other sites More sharing options...
tuk66 Posted February 5, 2015 Share Posted February 5, 2015 See /config/settings.inc.php. Can you find something like? define('_RIJNDAEL_KEY_', 'N6Fkn07VOOZqMhzi9COqZ4AdcypBAJcC');define('_RIJNDAEL_IV_', 'sHJwd/L+JIkJycxjAm65Iw=='); Link to comment Share on other sites More sharing options...
marcoGu Posted January 12, 2016 Share Posted January 12, 2016 Prestashop 1.6.0.8 Same problem here: cannot access to the back office and this warning: Warning: mcrypt_decrypt(): Key of size 14 not supported by this algorithm. Only keys of sizes 16, 24 or 32 supported in xxx/classes/Rijndael.php on line 70 Link to comment Share on other sites More sharing options...
hannup Posted February 1, 2016 Share Posted February 1, 2016 I had the same problem as MarcoGu and it turned out to be PHP 5.6 'problem'. It was solved by changing back to PHP 5.5. Link to comment Share on other sites More sharing options...
spositom Posted September 17, 2016 Share Posted September 17, 2016 Hello hannup How do you do it? i have the same problem as you Best regards, Marcio Link to comment Share on other sites More sharing options...
rocky Posted September 18, 2016 Share Posted September 18, 2016 Log in to your host account's cPanel, then click the "PHP Config" button in the "Programming" section. You can then choose which PHP version your account will use. If you don't have such an option, you'll have to contact your host and ask them to roll back to PHP 5.5. Link to comment Share on other sites More sharing options...
gadnis Posted November 27, 2017 Share Posted November 27, 2017 On 2016-09-18 at 4:29 AM, rocky said: Log in to your host account's cPanel, then click the "PHP Config" button in the "Programming" section. You can then choose which PHP version your account will use. If you don't have such an option, you'll have to contact your host and ask them to roll back to PHP 5.5. It's an option, but I guess some one like me needs php 5.6 or maybe 7.1. It should be some other option to do it right. Any one know the solution? Link to comment Share on other sites More sharing options...
bellini13 Posted November 28, 2017 Share Posted November 28, 2017 16 hours ago, gadnis said: It's an option, but I guess some one like me needs php 5.6 or maybe 7.1. It should be some other option to do it right. Any one know the solution? Hard to provide a solution, without knowing the issue. You are posting on a 2.5 year old topic. Perhaps you can give us some more information Prestashop version Current PHP version Error you are having Link to comment Share on other sites More sharing options...
buddystime8 Posted May 19, 2019 Share Posted May 19, 2019 hey i am sorry for my late replay but i have find a simple solution for this first of all rename your current file in classes/ Rijndael.php and then try to upload prestashop latest version Rijndael.php file and try to clear your cache and that fix it your issue from here you can download your latest file of Rijndael.php Rijndael.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