DJPhill Posted December 19, 2019 Share Posted December 19, 2019 (edited) Hello Having real troubles updating prestashop test site store to the latest 1.7. I've been through the various forum posts, exploring similar issues and fixes that other people have tried but to no avaail. Currently using PS1.6.1.8, PHP7.0. Using the latest 1-click module works updating to the latest 1.6 but fails updating then to 1.7. I have tried it with clearing the cache folder, disabling overrides and all but basic modules. I have then tried to update via the manual method but that threw up some different issues (see below). Fatal error: Uncaught Error: Call to undefined method Tools::refreshCACertFile() in /var/www/vhosts/mysite.com/httpdocs/testersite/src/PrestaShopBundle/DependencyInjection/AddOnsConfiguration.php:40 Stack trace: #0 /var/www/vhosts/mysite.com/httpdocs/testersite/vendor/symfony/symfony/src/Symfony/Component/Config/Definition/Processor.php(50): PrestaShopBundle\DependencyInjection\AddOnsConfiguration->getConfigTreeBuilder() #1 /var/www/vhosts/mysite.com/httpdocs/testersite/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Extension/Extension.php(96): Symfony\Component\Config\Definition\Processor->processConfiguration(Object(PrestaShopBundle\DependencyInjection\AddOnsConfiguration), Array) #2 /var/www/vhosts/mysite.com/httpdocs/testersite/src/PrestaShopBundle/DependencyInjection/PrestaShopExtension.php(45): Symfony\Component\DependencyInjection\Extension\Extension->processConfiguration(Object(PrestaShopBundle\DependencyInjection\AddOnsConfiguration), Array) #3 /var/ww in /var/www/vhosts/mysite.com/httpdocs/testersite/src/PrestaShopBundle/DependencyInjection/AddOnsConfiguration.php on line 40 If anyone has any thoughts or theories as to what it might be I would be very grateful. Thanks, Edited December 20, 2019 by DJPhill Resolved with no exact fix (see edit history) Link to comment Share on other sites More sharing options...
Fabry Posted December 19, 2019 Share Posted December 19, 2019 Hi! I suggest to not use 1 click module. to upgrade...but instead migrate your shop importing all data in a new virgin 1.7.6.x platform...this way you avoid ugly collateral effects in database that sooner than later will show up!. The 2 platforms are too much different for a smooth upgrade like in old ps 1.6 using the upgrade module....imho the best is to import all data in a new platform...just my 2 cent. regards Fabry Link to comment Share on other sites More sharing options...
taniacr Posted December 19, 2019 Share Posted December 19, 2019 Agree. 1.6 to 1.7 is hardly an upgrade but a migration. 1.7 shouldn't be even available through 1 click upgrade Link to comment Share on other sites More sharing options...
selectshop.at Posted December 19, 2019 Share Posted December 19, 2019 I don't agree. The 1-click-module works. The only problem are bad configured servers. You should not try to upgrade PS 1.6. to PS 1.7. on old server technique. The server should be upgraded to latest php and mysql before. It's not really Prestashop upgrade the problem, but the environment you are using. Furthermore a big problem are the extras in use, which are not native and in most cases bad coded. Before each upgrade also inherit a serie all extras (theme, modules and overrides should be disabled as well). This is a setting included in the 1-click-module as well, but nobody is using it and not taking into consideration the risk they are running by ignoring this setting. Link to comment Share on other sites More sharing options...
DJPhill Posted December 20, 2019 Author Share Posted December 20, 2019 Hi everyone! Thanks very much for your replies I'm thinking along the same lines as @taniacr and @Fabry that a migration to a 1.7 install would be easier. @selectshop.at - I also agree with you. 1-Click module does seem extremely good compared to when I last used it. And yes' addons and overrides should be turned off. I have checked the server and its software(s) are all up to date but I deduce the problem is because of some old corrupt modules I didn't realise were installed. Thanks again everyone. 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