Unica e-shop Posted April 27, 2016 Share Posted April 27, 2016 (edited) Hi there Today I updated my prestashop to 1.6.1.5 (the latest patch) but since the updating i cant log in to my prestashop backoffic, whenever i type my username and password and click log in, it just refreshes and nothing happens, no warning or fail messages is show. I have also cleared cookies, and history but still it dosent help. Hope somebody can help me out, thanks a lot. Edited April 27, 2016 by Unica e-shop (see edit history) Link to comment Share on other sites More sharing options...
endriu107 Posted April 27, 2016 Share Posted April 27, 2016 Turn on DEV mode, maybe there are some errors. Link to comment Share on other sites More sharing options...
Unica e-shop Posted April 27, 2016 Author Share Posted April 27, 2016 Thanks for your kind help, but how do i turn DEV mode, if your referring to Firefox debugger, than i cant see any error message, where should i look? Link to comment Share on other sites More sharing options...
endriu107 Posted April 27, 2016 Share Posted April 27, 2016 Just read pinned post in forum: https://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information-blank-page-500-internal-server-error/ 1 Link to comment Share on other sites More sharing options...
Unica e-shop Posted April 27, 2016 Author Share Posted April 27, 2016 Thank you very much; i got this message: Warning: mcrypt_decrypt() [function.mcrypt-decrypt]: Received initialization vector of size 7, but size 16 is required for this encryption mode in /var/www/unicae-shop.uk/public_html/classes/Rijndael.php on line 68Warning: Cannot modify header information - headers already sent by (output started at /var/www/unicae-shop.uk/public_html/classes/Rijndael.php:68) in /var/www/unicae-shop.uk/public_html/classes/Cookie.php on line 343 Link to comment Share on other sites More sharing options...
endriu107 Posted April 27, 2016 Share Posted April 27, 2016 What version php you use? Link to comment Share on other sites More sharing options...
Unica e-shop Posted April 27, 2016 Author Share Posted April 27, 2016 I am using unoeuro as my prestashop host, and they are using php vr. 7 Link to comment Share on other sites More sharing options...
endriu107 Posted April 27, 2016 Share Posted April 27, 2016 I'm not sure but for try you can in database table ps_configuration find PS_CIPHER_ALGORITHM and change value 1 to 0. 6 Link to comment Share on other sites More sharing options...
Unica e-shop Posted April 27, 2016 Author Share Posted April 27, 2016 Thank you very much! it did solve it. 1 Link to comment Share on other sites More sharing options...
tplmika Posted July 21, 2016 Share Posted July 21, 2016 Hi, I face the same issue. Dev mode : on prompted : Fatal error: Class 'Cache' not found in /home/xxxxxx/public_html/classes/ObjectModel.php on line 1827 at line 1827 found : if ($field !== null || !Cache::isStored($cache_id)) { $reflection = new ReflectionClass($class); Now i am searching for a right solution Link to comment Share on other sites More sharing options...
Knowband Plugins Posted July 22, 2016 Share Posted July 22, 2016 @tplmika: Could you please check if you have following files in your prestashop installation. /classes/cache/CacheApc.php /classes/cache/CacheMemcached.php /classes/cache/Cache.php /classes/cache/index.php /classes/cache/CacheFs.php /classes/cache/CacheMemcache.php /classes/cache/CacheXcache.php If no, copy all these files from fresh prestashop (same version). If yes, try after disable cache in config/settings.inc.php define('_PS_CACHE_ENABLED_', '0'); Link to comment Share on other sites More sharing options...
tplmika Posted July 22, 2016 Share Posted July 22, 2016 Dear Knowband Plugins, Appreciate your support here. You are right all those 7 files are missing in classes/cache/ I already update those but still my website is still offline. Link to comment Share on other sites More sharing options...
Knowband Plugins Posted July 22, 2016 Share Posted July 22, 2016 Could you please try after deleting class_index.php file from /cache directory. However it is not required, but we suggest you to make backup of this file before deleting it. Link to comment Share on other sites More sharing options...
tplmika Posted July 23, 2016 Share Posted July 23, 2016 Yes , that is a right solution it self generate new files.. Now i realise underlies those issue got so much problem on my website at FO: [PrestaShopDatabaseException]Table 'filexxx_DBxxx.psnd_attribute' doesn't exist while at BO : [PrestaShopDatabaseException]Table 'filexxx_DBxxx.psnd_access' doesn't exist Link to comment Share on other sites More sharing options...
Dh42 Posted June 22, 2017 Share Posted June 22, 2017 The issue with this is that they changed the cipher mode and your server does not support it. The easiest fix is to download an older copy of PrestaShop like 1.6.0.14 and replace the classes/Rijndael.php with the older file and everything will work. 1 Link to comment Share on other sites More sharing options...
playbob Posted June 24, 2017 Share Posted June 24, 2017 (edited) [Tue May 16 07:05:24.959792 2017] [cgi:error] [pid 10480] [client 82.163.79.3:46754] AH01215: PHP Warning: mcrypt_decrypt(): Received initialization vector of size 7, but size 16 is required for this encryption mode in /var/www/vtabloco/data/www/site/classes/Rijndael.php on line 68[Tue May 16 07:05:25.115608 2017] [cgi:error] [pid 10480] [client 82.163.79.3:46754] AH01215: PHP Warning: mcrypt_encrypt(): Received initialization vector of size 7, but size 16 is required for this encryption mode in /var/www/vtabloco/data/www/site/classes/Rijndael.php on line 51 What is there to fix? Thank you Edited June 24, 2017 by playbob (see edit history) Link to comment Share on other sites More sharing options...
Souls1k Posted June 28, 2017 Share Posted June 28, 2017 Have been using the PrestaShop for a while now but recently anytime i log into the back office any click takes me back to the login page. Please what can i do? Link to comment Share on other sites More sharing options...
gius3pp3 Posted September 18, 2017 Share Posted September 18, 2017 I'm not sure but for try you can in database table ps_configuration find PS_CIPHER_ALGORITHM and change value 1 to 0. Thank You! You save my life!!! Link to comment Share on other sites More sharing options...
lovemyseo Posted April 5, 2019 Share Posted April 5, 2019 On 4/27/2016 at 10:40 PM, endriu107 said: I'm not sure but for try you can in database table ps_configuration find PS_CIPHER_ALGORITHM and change value 1 to 0. worked like charm Link to comment Share on other sites More sharing options...
lovemyseo Posted April 7, 2019 Share Posted April 7, 2019 On 6/22/2017 at 11:58 PM, Dh42 said: The issue with this is that they changed the cipher mode and your server does not support it. The easiest fix is to download an older copy of PrestaShop like 1.6.0.14 and replace the classes/Rijndael.php with the older file and everything will work. Yes this solutions works perfecrt as well 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