Thalion Posted September 10, 2023 Share Posted September 10, 2023 Hi, I'm not a Prestashop expert, I'm trying to help a friend who have had a shop running for years now. She is not very tech oriented, and only know the basic usage of her shop, so she used to ask a webmaster for maintenance and customisation. However, her webmaster seems to have disappeared for a while now. She has a version 1.7.0.5, running on a PHP 7.0.33 server. (I know, the webmaster did a pretty bad job...) Now as I understand, this version is not compatible with a PHP version higher than 7.1, and with this version of PHP, the latest compatible version is 1.7.6.9, which itself is compatible with PHP 7.2, the latter being compatible with latests Prestashop versions. So the idea would be to migrate to Prestashop v 1.7.6.9, then upgrade the PHP version of her hoster (this I know how to do), then upgrade Prestashop to latest 1.7 version. (Actually I think the better solution would be to start fresh with a clean install, but she's scared of this idea) I have copied her site on a local server with the same configuration as her hoster, to make some tests. I tried a manual upgrade but it didn't work so I reverted to the copy. Then I tried using the 1 click upgrade module. However, the automated procedure only loads version 1.7.10, and doesn't work because PHP version does not meet the requirements. As this module offers upgrade from a manually downloaded archive, I tried it, but it requires an XML file which, if I understand correctly, contains the hash of all the files in the archive. However, this XML file doesn't exist in Github for versions prior to oxtober 2022. Is there a way to bypass this XML check, or to generate the appropriate XML file ? As a second point, I noticed something weird also : a message "It's not possible to write in the following folders: img" appears. However, I checked permissions on my test environnement (under Windows) and everything is ok. On her hoster, I did change the permissions with Filezilla and the message disappeared. But not on my test server ! I fear it would prevent me from testing the 1 click upgrade, even with a correct XML file. Any help on both these (related) subjects would be appreciated. Link to comment Share on other sites More sharing options...
musicmaster Posted September 12, 2023 Share Posted September 12, 2023 On the Prestashop website you can download any version that you want here: https://prestashop.com/versions/ If I remember well you should move that file to the /admin/download directory and the you can do an upgrade from file with that. I can't remember any problems with XML files when you do that. Recently Prestashop is sometimes making trouble with Windows. I am not sure what your img directory right is about. But one solution I found in the past is to use an older version of the autoupgrade module. Normally this module always checks that you are using the latest version. So you need to deceive it by changing the version number in its config file. Link to comment Share on other sites More sharing options...
Thalion Posted September 13, 2023 Author Share Posted September 13, 2023 On 9/12/2023 at 5:29 PM, musicmaster said: one solution I found in the past is to use an older version of the autoupgrade module. Normally this module always checks that you are using the latest version. So you need to deceive it by changing the version number in its config file. This did the trick, and allowed the upgrade (latest version requires an xml and gets stuck) Thanks for the help ! 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