简体   繁体   English

Magento从1.9.0.1升级到1.9.3.4

[英]Magento upgrade from 1.9.0.1 to 1.9.3.4

i have a website with magento version 1.9.0.1 but now i am seeing allot of unusual activities in my site, someone add ads to site from some where even i changed all passwords etc. 我有一个使用magento版本1.9.0.1的网站,但现在我看到了我网站中异常活动的分配,有人从某些地方向我添加了广告,甚至我都更改了所有密码,等等。

I am now going to upgrade from magento 1.9.0.1 to magento 1.9.3.4 but found no proper roadmap on how to upgrade magento without losing any data of website and setting etc. 我现在要从magento 1.9.0.1升级到magento 1.9.3.4,但是没有找到适当的路线图来升级magento,而又不会丢失任何网站和设置等数据。

Upgrade Roadmap for CE 1.9.0.1 from 1.9.3.4 从1.9.3.4升级CE 1.9.0.1的路线图

  1. Take a backup of the current database and current 1.7 code. 备份当前数据库和当前1.7代码。 place maintenance.flag file inside 1.7 code folder to put website offline. 在1.7代码文件夹中放置maintenance.flag文件,以使网站脱机。
  2. Download latest Magento from the http://www.magentocommerce.com/download http://www.magentocommerce.com/download下载最新的Magento
  3. Remove all folders and files from your 1.7 code except maintenance.flag (but you should have backup somewhere) and place all folders and files from the 1.9. 从1.7代码中删除所有文件夹和文件( maintenance.flag除外)(但应该在某处进行备份),然后放置1.9中的所有文件夹和文件。
  4. Now from your 1.7 merge your following custom folders into the 1.9 现在从1.7合并以下自定义文件夹到1.9
    • Community app/code/community 社区app/code/community
    • Local app/code/local 本地app/code/local
    • Media 媒体
    • your theme or package ( app/design/frontend/default/<your theme> or app/design/frontend/<your package> ) 您的主题或软件包( app/design/frontend/default/<your theme>app/design/frontend/<your package>
    • custom folders from Skin (both for adminhtml and frontend). 皮肤中的自定义文件夹(用于adminhtml和前端)。
    • copy your custom xml files from app/etc/modules/ to current app/etc/modules/ 将您的自定义xml文件从app/etc/modules/复制到当前app/etc/modules/
    • any custom admin theme folder from adminhtml/default/yourtheme . adminhtml/default/yourtheme任何自定义管理主题文件夹。
    • copy your custom folders from adminhtml/default/default/ (1.7) to adminhtml/default/default/ (1.9). 将您的自定义文件夹从adminhtml/default/default/复制到adminhtml / default / default /(1.9)。
    • custom js files if any from app/js/ . 自定义js文件(如果有)来自app/js/
  5. Now go to app/etc/local.xml .Edit database details their.put your database username and password and database name. 现在转到app/etc/local.xml编辑数据库详细信息。输入您的数据库用户名,密码和数据库名称。
  6. Remove maintenance.flag file and check the site in the browser. 删除maintenance.flag文件并在浏览器中检查站点。 it is done. 完成了。

Note:- You can also Upgrade CE 1.9.0.1 from 1.9.3.4 through the SSH Command, Kindly review this URL:- https://astrio.net/blog/magento-upgrade-guide/ 注: -您也可以从1.9.3.4通过SSH命令升级CE 1.9.0.1,请查看此网址: - https://astrio.net/blog/magento-upgrade-guide/

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

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