doekia Posted October 5, 2018 Share Posted October 5, 2018 Please do not upgrade your prestashop to the 1.6.1.21, this version contains a time bomb that will crash your shop in 15 days ( 1296000 seconds exactly) You will get the following error in 2 weeks: [PrestaShop] Fatal error in module file :/home/doekia/Projects/ps_nightly/1.6.x/classes/Tools.php: Uncaught Error: Undefined class constant 'CACERT_LOCATION' in /home/doekia/Projects/ps_nightly/1.6.x/classes/Tools.php:2058 Stack trace: #0 /home/doekia/Projects/ps_nightly/1.6.x/classes/Tools.php(2084): ToolsCore::refreshCACertFile() #1 Link to comment Share on other sites More sharing options...
razaro Posted October 5, 2018 Share Posted October 5, 2018 hmm do you have in Tools.php this line in beginning const CACERT_LOCATION = 'https://curl.haxx.se/ca/cacert.pem'; like here https://github.com/PrestaShop/PrestaShop/blob/ecaf712fbe41066bd22639133b6a3f4435394e89/classes/Tools.php#L33 Link to comment Share on other sites More sharing options...
doekia Posted October 6, 2018 Author Share Posted October 6, 2018 Not it is not. The upgrade went swimingly. But the bundled code from the genuine zip does not have this line and... the banch neither https://github.com/PrestaShop/PrestaShop/blob/1.6.1.x/classes/Tools.php Far and foremost this function refreshCACertFile() and the changes made in Tools::file_get_contents() makes no sense The CA store is the responsability of the sysadmin, and unless PS been deployed by someone totally brainless it is already up-to-date. It been like such for the past 10 years without any issues with properly set environment. Now to fix some gonzos stupidity we are slowing down every one. That is "shoot in the foot" 1 Link to comment Share on other sites More sharing options...
ZikmaSolutions Posted October 6, 2018 Share Posted October 6, 2018 Guys, I have problem with blank pages with adding products. Site is 1.6.1.20 but I want to update to 1.21 . What you think about that? 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