Billy Posted November 6, 2021 Share Posted November 6, 2021 I have a stopper here in the one click module upgrade. I started with a fresh install of 1.6.1.2 and used copy_shopdata.php to move over all data. So yea that went smooth however during upgrade I am presented with this below from my C:\neard\www\mysite\admin\autoupgrade\tmp\log.txt Anyone have any ideas? Thanks! [2021-11-06 15:27:48] [SKIP] directory "/var/cache/" does not exist and cannot be emptied. [2021-11-06 16:27:50] [INTERNAL] C:\neard\www\mysite\modules\autoupgrade\classes\UpgradeTools\CoreUpgrader\CoreUpgrader.php line 195 - dirname() expects exactly 1 parameter, 2 given [2021-11-06 16:27:52] [INTERNAL] C:\neard\www\mysite\modules\autoupgrade\classes\UpgradeTools\ModuleAdapter.php line 92 - require_once(/upgrade/php/deactivate_custom_modules.php): failed to open stream: No such file or directory [2021-11-06 16:27:52] [INTERNAL] C:\neard\www\mysite\modules\autoupgrade\classes\UpgradeTools\ModuleAdapter.php line 92 - require_once(): Failed opening required '/upgrade/php/deactivate_custom_modules.php' (include_path='C:\neard\www\mysite\tools\htmlpurifier/standalone;.;C:/neard/bin/php/php5.6.40/pear/pear') Link to comment Share on other sites More sharing options...
musicmaster Posted November 8, 2021 Share Posted November 8, 2021 Sounds like the 1-click updater is no longer fully 1.6 compatible. Up to you to determine whether it is still good enough. If not you will need to use another way of upgrading or an older version of autoupgrade (available on Github). Link to comment Share on other sites More sharing options...
Billy Posted November 8, 2021 Author Share Posted November 8, 2021 @musicmaster your a lifesaver as always! I rolled back one revision of autoupgrade from v4.13.0 to v4.12.0 and it worked like a charm! Thank you so much! https://github.com/PrestaShop/autoupgrade/releases/tag/v4.12.0 While I have you here I want to ask a question about Prestools! Say I have 5 different prestashop 1.6.x websites and I want to combine all my customers, inventory & sales into one shop. Is this possible with your Prestools? Link to comment Share on other sites More sharing options...
Billy Posted November 8, 2021 Author Share Posted November 8, 2021 (edited) I wanted to add that I thought I needed to switch back to wamp or xampp instead of using https://neard.io/doc/screenshots/ https://neard.io/modules/ That wasn't the case at all as I like Neard much better then those! Edited November 8, 2021 by Billy added a few nuggets (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted November 8, 2021 Share Posted November 8, 2021 5 minutes ago, Billy said: @musicmaster While I have you here I want to ask a question about Prestools! Say I have 5 different prestashop 1.6.x websites and I want to combine all my customers, inventory & sales into one shop. Is this possible with your Prestools? No, that is not possible. Link to comment Share on other sites More sharing options...
Billy Posted November 8, 2021 Author Share Posted November 8, 2021 Could I combine only customers with no orders? Link to comment Share on other sites More sharing options...
musicmaster Posted November 8, 2021 Share Posted November 8, 2021 You can look if there is a commercial solution. But it isn't easy to make as each shop has its own password keys. 1 Link to comment Share on other sites More sharing options...
Billy Posted November 10, 2021 Author Share Posted November 10, 2021 Ok thank you for your time as usual! Link to comment Share on other sites More sharing options...
Slune Posted February 21, 2022 Share Posted February 21, 2022 Hi Billy, I found this discussion after my upgrade attempt failed with very similar result as you had: "[INTERNAL] ....\modules\autoupgrade\classes\UpgradeTools\CoreUpgrader\CoreUpgrader.php line 195 - dirname() expects exactly 1 parameter, 2 given". I wanted to follow your advice to use a 1-click upgrade module of older version v4.12.0 but I face another problem - the module force me to upgrade it to latest version 4.14. Without this update it do not allow to start the upgrade. How did you proceeded to be able to run the upgrade with module v 4.12? I will very appreciate any help. Link to comment Share on other sites More sharing options...
vimaweb Posted August 26, 2022 Share Posted August 26, 2022 Le 21/02/2022 à 3:50 AM, Slune a dit : Hi Billy, I found this discussion after my upgrade attempt failed with very similar result as you had: "[INTERNAL] ....\modules\autoupgrade\classes\UpgradeTools\CoreUpgrader\CoreUpgrader.php line 195 - dirname() expects exactly 1 parameter, 2 given". I wanted to follow your advice to use a 1-click upgrade module of older version v4.12.0 but I face another problem - the module force me to upgrade it to latest version 4.14. Without this update it do not allow to start the upgrade. How did you proceeded to be able to run the upgrade with module v 4.12? I will very appreciate any help. Hey, I have the exact same problem, can't upgrade with an older version... Link to comment Share on other sites More sharing options...
ComGrafPL Posted August 26, 2022 Share Posted August 26, 2022 18 minut temu, vimaweb napisał: Hey, I have the exact same problem, can't upgrade with an older version... From which to which version you need to upgrade? Link to comment Share on other sites More sharing options...
vimaweb Posted August 26, 2022 Share Posted August 26, 2022 il y a 1 minute, ComGrafPL a dit : From which to which version you need to upgrade? From 1.6.1.7 to 1.6.1.24. We are considering going for 1.7... Link to comment Share on other sites More sharing options...
Billy Posted August 26, 2022 Author Share Posted August 26, 2022 I gave up and ended up migrating to PS 1.7 with MusicMasters, Prestools Suite & Copy Shopdata. https://www.prestools.com/ Link to comment Share on other sites More sharing options...
vimaweb Posted August 26, 2022 Share Posted August 26, 2022 il y a 1 minute, Billy a dit : I gave up and ended up migrating to PS 1.7 with MusicMasters, Prestools Suite & Copy Shopdata. https://www.prestools.com/ Thanks for the answer Billy. We should be able to make the upgrade by our own. Link to comment Share on other sites More sharing options...
musicmaster Posted August 26, 2022 Share Posted August 26, 2022 You can also try this tool: 1 Link to comment Share on other sites More sharing options...
Beluga Posted October 4, 2022 Share Posted October 4, 2022 Check this yet-unmerged commit for what you need to change in modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php Writing it down here as well: from $this->pathToUpgradeScripts = dirname(__DIR__, 3) . '/upgrade/'; to $this->pathToUpgradeScripts = _PS_MODULE_DIR_ . 'autoupgrade/upgrade/'; 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