Our webstore uses cookies to offer a better user experience and to manage the modules licenses. We consider that you accept their usage if you continue the navigation.
(Translated from French with Google Translate - Manual corrections still to be done)
It was not a week goes by that my modules In User wonder whether or not this is a good idea to migrate an "old" site to the latest version of PrestaShop 1.6, and if so, how.
Having the same I throw myself into the adventure of migration of this site 1.6.1 to 1.4.5.3, I could like almost everyone, I realized that the automatic migration tool PrestaShop (module " one click upgrade ") was totally unable to go through the process. The number of errors and crashes from the use of this tool is pretty amazing, as soon as one starts with a rather old version. Forget it then.
So far the only alternative, or say compromise was to install a PS 16 to a virgin and export / import data (customers, orders, products, versions, categories and everything else) with the old site various tools. PrestaPricing and PrestaCategories eg for the catalog elements.
This remains a long and arduous process.
Hopefully, there is anothe rmethod, which works !
This page is visible only to registered members of our newsletter. Please loggin or register to our newsletter. This is all free.
there are better, much better and I will share with you this really great method. To summarize it is:
Before introducing this method step, I want to return to the choice of hosting for your new website. In fact if your current website is slow, performing a major update of PrestaShop is I think the right opportunity to choose the right hosting solution.
Shared or dedicated? : Below 1,000 orders per month, website traffic does not justify investing in a dedicated.
There is an incredible amount of hosts and can speak totue independence of those I have had the opportunity to test in number 4:
Suppose your old PrestaShop is on the server in a folder / current /
Important: If you are not comfortable with the idea of doing all this directly on the server, it is also possible, see recommended, install a server emulator for PC (like EasyPHP) and do everything locally. Then upload the new site and the new database once everything works locally.
My website requires a lot of customization after migration, this is what I have done, to avoid having to leave permanent site maintenance.
/ mails
/ img except subfolders / img / admin and / img / jquery-ui
/ download
/ upload
define ('__ PS_BASE_URI__', '/ new /');
define ('_ THEME_NAME_', 'default-bootstrap');
define ('_ DB_NAME_', 'ancienneamigrer');
define ('_ DB_SERVER_', 'localhost');
define ('_ DB_USER_', 'root');
define ('_ DB_PASSWD_', '');
Note: Adapt course root and the password to your own SQL settings.
urlduserveur / new / install / upgrade / upgrade.php
or if you work locally:
localhost / new / install / upgrade / upgrade.php
This launches a migration script from your current database to the format (or structure) of the dernère version of PrestaShop, while preserving the data.
After a few seconds or minutes ,, if the page displays an XML file whose first line contains
Action = result = ok error
Is that everything went well. Congratulations.
Otherwise we will have to analyze and understand the errors listed (or not) in the xml file, correct them and restart the script. What I observed:
Activez le mode "Legacy images", puis le déplacement des images dans les sous dossiers et désactivez le mode "Legacy images".">Product images do not appear => Enable mode "Legacy pictures" and moving images in subfolders and disable the mode "Legacy Images". If not it's enough, start regeneration of thumbnails.
Many errors in 404 local => disable the redirect URLs
Many errors in 404 remote => disable the redirect URLs to rebuild and reactivate the .htaccess.
The backoffice or afichent site without the layout, often a mistake with the line define ('__ PS_BASE_URI__', '/ new /'); in setting.ic.php file
Good luck.
Franck
Category's other articles