Georgy Goshin Posted June 27, 2023 Share Posted June 27, 2023 Hello! I'm trying to update one Prestashop installation to the latest 1.6. Currently running 1.6.1.11, latest is 1.6.1.24. 1-Click upgrade module installed 26.06.2023 (version 4.14.2) and seems it is the latest module for the 1.6 When trying to process with the upgrade, I'm getting the error (not warning, red cross) "The 1-click upgrade module is up-to-date (your current version is v4.14.2)" I found few discussion about this and seems that this bug was resolved in 4.15 but 4.15 does not supports 1.6. Found also advice to place the latest number to the config.xml in the module folder, but this does not helps. Any advice please? Link to comment Share on other sites More sharing options...
ComGrafPL Posted June 27, 2023 Share Posted June 27, 2023 Try with 4.16.0 Link to comment Share on other sites More sharing options...
Georgy Goshin Posted June 27, 2023 Author Share Posted June 27, 2023 22 minutes ago, ComGrafPL said: Try with 4.16.0 There was another errors, 4.16 no longer works with PS 1.6 Link to comment Share on other sites More sharing options...
ComGrafPL Posted June 28, 2023 Share Posted June 28, 2023 Temporary set autoupgrade folder permission to 777. Link to comment Share on other sites More sharing options...
Georgy Goshin Posted June 28, 2023 Author Share Posted June 28, 2023 4 hours ago, ComGrafPL said: Temporary set autoupgrade folder permission to 777. Thanks, but did not help. The 1-click upgrade module is up-to-date (your current version is v4.14.2) Update Download and red cross ( Link to comment Share on other sites More sharing options...
ps8modules Posted June 28, 2023 Share Posted June 28, 2023 Hi. Please turn on debug mode and provide us with a screen in the event of an error. Please also write us the server parameters. Link to comment Share on other sites More sharing options...
Georgy Goshin Posted June 28, 2023 Author Share Posted June 28, 2023 36 minutes ago, ps8moduly.cz said: Hi. Please turn on debug mode and provide us with a screen in the event of an error. Please also write us the server parameters. Can you please also advice how do I turn the debug mode in Prestashop 1.6 ? Link to comment Share on other sites More sharing options...
ps8modules Posted June 28, 2023 Share Posted June 28, 2023 Hi. FTP config folder and defines.inc.php file. https://myprestamodules.com/blog/tutorials/how-to-enable-debug-mode-in-prestashop-17-16.html Link to comment Share on other sites More sharing options...
Nickz Posted June 28, 2023 Share Posted June 28, 2023 That makes me wonder: What are you trying to accomplish? have you made backups for your data, files and database before doing the one click? 1 Link to comment Share on other sites More sharing options...
Georgy Goshin Posted July 12, 2023 Author Share Posted July 12, 2023 On 6/28/2023 at 3:01 PM, ps8moduly.cz said: Hi. Please turn on debug mode and provide us with a screen in the event of an error. Please also write us the server parameters. Hello! sorry, I was out for a while, now I'm back and still did not upgraded the PS even to the latest 1.6 ( Debug did not shows any errors or warnings on the 1 click upgrade configuration page, the following lines are on login screen Deprecated: Function mcrypt_decrypt() is deprecated in /var/www/clients/client1/web141/web/classes/Rijndael.php on line 68 Warning: Illegal string offset 'datakick' in /var/www/clients/client1/web141/web/classes/Hook.php on line 554 Notice: Array to string conversion in /var/www/clients/client1/web141/web/classes/Hook.php on line 554 Below are also screenshots of 1-click update and server paramaters screens. On 6/28/2023 at 4:24 PM, Nickz said: That makes me wonder: What are you trying to accomplish? have you made backups for your data, files and database before doing the one click? H On 6/28/2023 at 4:24 PM, Nickz said: That makes me wonder: What are you trying to accomplish? have you made backups for your data, files and database before doing the one click? I'm trying to update the shop to the latest 1.6 version and after that will try to move to 1.7. Of course I made a copy of a production site and trying to update this copy now. Link to comment Share on other sites More sharing options...
ComGrafPL Posted July 12, 2023 Share Posted July 12, 2023 Maybe consider clean 1.7 install and transfer data. As most probably your theme, modules from 1.6 wont work on updated 1.7 and staying even on latest 1.6 isn't best idea. Link to comment Share on other sites More sharing options...
Nickz Posted July 12, 2023 Share Posted July 12, 2023 1 hour ago, ComGrafPL said: staying even on latest 1.6 isn't best idea. why not, do you care to explain? Link to comment Share on other sites More sharing options...
ComGrafPL Posted July 12, 2023 Share Posted July 12, 2023 47 minutes ago, Nickz said: why not, do you care to explain? Not sure about His country. By mainly Hosting providers limiting plans to PHP 8+ ( some have option to stay on old PHP with fees ). Same with payment / delivery integrations. Here in Poland, They're changing API system and updating integrations only for 1.7+ PS. Forcing to use new version in road to new PHP. Link to comment Share on other sites More sharing options...
Nickz Posted July 12, 2023 Share Posted July 12, 2023 3 hours ago, ComGrafPL said: Not sure about His country. By mainly Hosting providers limiting plans to PHP 8+ ( some have option to stay on old PHP with fees ). Same with payment / delivery integrations. Here in Poland, They're changing API system and updating integrations only for 1.7+ PS. Forcing to use new version in road to new PHP. just use a VPS and control the server. Link to comment Share on other sites More sharing options...
Konfer Posted December 8, 2023 Share Posted December 8, 2023 I'm currently working on an upgrade from 1.6.1.12 to 1.6.1.24, with the same issue with the module. I'm a little bit disapointed by the module, but I'll try to disable this check, it's th'e game. Also, I'm more stupefied by the vacuity of some responses provided. I see here some big poster responding by "How, strange, I'm wondering what you try to do" - let's say probably just upgrade a prestashop instance. Just a supposition, but we should investigate about this. Or better "Hummm, did you do a backup, dude ?". Thanks guys, you made my evening 😅 Link to comment Share on other sites More sharing options...
Konfer Posted December 8, 2023 Share Posted December 8, 2023 (edited) So... In the version I'm currently using - the 4.14.2 - there are two files to modify in the module, to disable some checks and display the upgrade button: - /modules/autoupgrade/classes/Twig/Block/UpgradeChecklist.php - /modules/autoupgrade/classes/Twig/Block/UpgradeButtonBlock.php In those files you'll need to update some boolean values, and disable a if condition in the UpgradeButtonBlock.php. After that, you'll be able to run the upgrade successfully... Edited December 8, 2023 by Konfer (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted December 9, 2023 Share Posted December 9, 2023 22 hours ago, Konfer said: So... In the version I'm currently using - the 4.14.2 - there are two files to modify in the module, to disable some checks and display the upgrade button: - /modules/autoupgrade/classes/Twig/Block/UpgradeChecklist.php - /modules/autoupgrade/classes/Twig/Block/UpgradeButtonBlock.php In those files you'll need to update some boolean values, and disable a if condition in the UpgradeButtonBlock.php. After that, you'll be able to run the upgrade successfully... Looks like you are using PHP 7.2 or newer. 7.1 is the last version that supports Rijndael encryption. Link to comment Share on other sites More sharing options...
Konfer Posted December 11, 2023 Share Posted December 11, 2023 On 12/9/2023 at 7:32 PM, musicmaster said: Looks like you are using PHP 7.2 or newer. 7.1 is the last version that supports Rijndael encryption. Indeed, the hosting doesn't allow PHP 7.1. So, I'll keep PHP 5.6 at this time and let die this 1.6.1.24 version before to rebuild it from scratch in a 8 version. Link to comment Share on other sites More sharing options...
musicmaster Posted December 11, 2023 Share Posted December 11, 2023 There are a few alternatives: - Thirty Bees and Phenixsuite are Prestashop 1.6 clones that have been further developed and support newer PHP versions. - It seems that there are PHP modules around that allow you to add Rijndael support to PHP 7.2. 1 Link to comment Share on other sites More sharing options...
aniwo_pl Posted April 4 Share Posted April 4 FIX: Uninstall and remove the autoupdate module from the server. Then upload the one below. (This is version v4.14.2 pretending to be 5.0.1) autoupgrade_fix_forPS16.zip 1 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