简体   繁体   English

将magento 1.6迁移到1.9.2

[英]migrate magento 1.6 to 1.9.2

I need to migrate old magento store 1.6 to 1.9.2. 我需要将旧的magento商店1.6迁移到1.9.2。 Rather then messing up the running site I decided to do it at new server and change dns later. 而不是弄乱正在运行的站点,我决定在新服务器上进行并稍后更改dns。 I have installed 1.9.2 at new host. 我已经在新主机上安装了1.9.2。 installed new theme( old theme was not compatible). 安装了新主题(旧主题不兼容)。 Copied all media files.I searched for possible options. 复制了所有媒体文件。我搜索了可能的选项。 One possible solution is https://wiki.magento.com/display/m1wiki/Manual+upgrade+using+a+fresh+install+and+new+database . 一种可能的解决方案是https://wiki.magento.com/display/m1wiki/Manual+upgrade+using+a+fresh+install+and+new+database I found a migration tool http://devdocs.magento.com/guides/v2.0/migration/bk-migration-guide.html but I am not sure whether it is only for 2.0 or it works for 1.9.2 too. 我找到了迁移工具http://devdocs.magento.com/guides/v2.0/migration/bk-migration-guide.html,但是我不确定它是否仅适用于2.0或也适用于1.9.2。 I am php developer. 我是php开发人员。 I have worked for magento 3 years back. 3年前,我曾为magento工作。

I found a migration tool http://devdocs.magento.com/guides/v2.0/migration/bk-migration-guide.html but I am not sure whether it is only for 2.0 or it works for 1.9.2 too 我发现了一个迁移工具http://devdocs.magento.com/guides/v2.0/migration/bk-migration-guide.html,但是我不确定它是否仅适用于2.0或也适用于1.9.2。

The migration tool is for migrating to Magento 1.x to Magento 2. You don't need that tool to upgrade from 1.6 to 1.9. 迁移工具用于将Magento 1.x迁移到Magento2。您不需要该工具即可从1.6升级到1.9。

The first link you posted should be all you need to upgrade. 您发布的第一个链接应该是升级所需的全部。 In short: 简而言之:

  • Setup a new instance of Magneto 1.9 on the destination server 在目标服务器上设置Magneto 1.9的新实例
    • You don't need to run the installer or create a fresh database, you will import the database from the old site. 您无需运行安装程序或创建新的数据库,只需从旧站点导入数据库即可。
  • Move your theme, extensions and media to the new site 将主题,扩展程序和媒体移至新站点
  • Export the database from the live site 从实时站点导出数据库
    • Disable caching and compilation before exporting 导出前禁用缓存和编译
  • Import the database to the new site 将数据库导入到新站点
  • Navigate to the new site and wait for the upgrade process to complete. 导航到新站点,然后等待升级过程完成。

You may also want to put the old site in maintenance mode before exporting the database. 您可能还想在导出数据库之前将旧站点置于维护模式。 This will prevent updates to the old site, which will be lost when you update the domain to point to the new site. 这将防止对旧站点的更新,当您将域更新为指向新站点时,更新将丢失。

If you have installed a fresh magento 1.9.2, then follow following steps to move all data from 1.6 to 1.9.x: 如果您安装了新的magento 1.9.2,请按照以下步骤将所有数据从1.6移至1.9.x:

1) Take a backup of current database and current magento code. 1)备份当前数据库和当前magento代码。

2) Now put following folders from old magento to 1.9. 2)现在将以下文件夹从旧的magento放到1.9。 You need to merge carefully if any existing folders or files exist in magento 1.9 如果magento 1.9中存在任何现有的文件夹或文件,则需要仔细合并

  • app/code/local 应用程序/代码/本地
  • app/code/community 应用程序/代码/社区
  • app/etc/modules 应用程序的/ etc /模块
  • media 媒体
  • Your theme and package folders. 您的主题和包文件夹。
  • Similarly in skin any theme and package folders that exist in old magento but not in new magento, copy them in new magento installation. 同样,在皮肤上,旧的magento中存在的主题文件夹和程序包文件夹,而不是新的magento中存在的文件夹,请在新的magento安装中复制它们。
  • Custom js files if any from js folder 自定义js文件(如果有)来自js文件夹

3) Now go to app/etc/local.xml and configure db 3)现在转到app / etc / local.xml并配置数据库

4) If your old magento version like 1.6 does not support fromkey and new one does, any template you are using will need to be upgraded to use formkeys, otherwise your forms will not work 4)如果您的旧magento版本(例如1.6)不支持fromkey,而新版本则不支持fromkey,则您正在使用的任何模板都需要升级以使用formkey,否则您的表单将无法使用

5) If you're upgrading magento to version above 1.9.2.2, you'll also have the set the Block/Variable permissions in admin. 5)如果您要将magento升级到1.9.2.2以上的版本,则还需要在admin中设置“阻止/变量”权限。

For details visit the following link: 有关详细信息,请访问以下链接:

Upgrade magento from old versions to 1.9.x 将magento从旧版本升级到1.9.x

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM