upgrade magento to latest version

筅森魡賤 提交于 2019-12-11 04:17:15

问题


I am currently using Magento community edition, version 1.7.0.0, and as recommended by Magento due to a major security loophole fix, I want to upgrade my application to use latest version, 1.7.0.2.

What is the best way to upgrade magento version?

I know there are ways like command-line upgrade and using Magento Connect Manager, but not sure which and how to use.

thanks


回答1:


The easiest way is to go to the Magento Connect Manager and press the Check for Upgrades Button.

Then you can see updates for all versions.

If you want to Update all packages then take Mage_All_Latest

I think when you are in the same Major release the update should work without any problems.

If you get some trouble with dependencies. You can do an upgrade with your console:

./mage upgrade-all --force

After using force you should check all your functions.




回答2:


Follow the below steps:

  1. Download the latest magento version(say 1.9) from http://www.magentocommerce.com/download
  2. Backup every thing
  3. Now remove all files and folder from your site code(mine say 1.7) and put in a new folder say ‘x’ folder.Put maintenance flag and place all magento files from latest magento download folder.
  4. Now from magento 1.7( ‘x’ folder) merge the following custom folders into 1.9

    app/code/local
    app/code/community
    Media
    Your theme or package (app/design/frontend/default/<your theme> or app/design/frontend/<your package>)
    Folders from Skin (both for adminhtml and frontend).
    Copy app/etc/modules/ to current app/etc/modules/ from ‘x’ folder
    Custom admin theme folder from adminhtml/default/yourtheme.
    copy your custom folders from adminhtml/default/default/ (‘x’ folder) to adminhtml/default/default/ (1.9).
    Custom js files from app/js/. from ‘x’ folder
    
  5. Now go to app/etc/local.xml of 1.9 and put your database and password details

  6. Remove maintenance.flag file and run your site on browser, and you are done


来源:https://stackoverflow.com/questions/11520618/upgrade-magento-to-latest-version

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!