Upgrade Guide for prestashop 1.4
Mar 29
Prestashop Prestashop 1.4, Upgrade No Comments
Due to the real power of version 1.4, many people in b2c just wish to have their original prestashop upgraded to this new version. In fact, all upgrades above version 1.2 have been well done enough, so just following the upgrade steps as before is fair enough. However, there are lots of changes that have been made to version 1.4, so as I see it, it is necessary to put an instruction here in order to guide everyone for their upgrades to version 1.4.
1.Backup your database and hopefully your database version is 1.1-1.3, as the upgrade program will not support any lower versions than that. Besides, I don’t believe there could still be anybody still using the version below 1.0, whose bugs are too many to make its clients make payments normally.
2.Do not transfer your prestashop to the server until its local upgrade is complete. So please make sure you have created your local database in advance.
3.Install a brand new prestashop 1.4, and then copy settings.php from your old website into this new version, meanwhile update all the collection information for your database.
4.Open prestashop 1.4 in your local drive and find out the Upgrade option in the setup program. Then click and follow the steps in it for the rest of your upgrade work.
5.Check if the database upgrade has been complete. (You know, I used to try 3 times to barely have mine done successfully…)
6.Test your module and template of old versions in the local drive, since there would be more steps to be taken for upgrading to 1.4, unlike being that simple and easy to upgrade from 1.2 to 1.3 before. What is more, even smarty has been already upgraded to v3 while jQuery has also been of version 1.4 now.
There is one more thing that has to be mentioned here. If your old module uses many Smarty codes, then please upgrade it to the v3 environment as soon as possible. Moreover, both smarty v2 and v3 will be supported at prestashop 1.4 whereas version 1.5 may support v3 only. Be better a little loss than a long sorrow, please think about it now.
Also, there is basically no need to rewrite the module as it still works for the new version. So far no old modules that do not support the new version have been found yet.
7.Upload your prestashop of the new version. You had better create a new database and a new folder to give it a test at first. Once the test is successful you may move on to file transfer.
8.In addition to the issue regarding the path configuration in settings.php, which has been mentioned in my previous articles, prestashop 1.4 has got the function of automatically directing any visit to those non-primary domains to the primary domain. By such a function, data of the primary domain are recorded in the database, and all visits to non-primary domains will be directed by 301 to the primary domain. Therefore your local installed prestashop 1.4 might contain some domain information like localhost, which can be set in Backoffice >> Preferences >> SEO.
9.Finally, don’t forget copy all pictures in your img folder into your new website.
RSS
Twitter
Recent Comments