我现在的网站是在Magento 1.6上运行的。我希望将其升级到1.9但不知道如何开始。我浏览了以下文章,但未能继续前进。
http://www.customerparadigm.com/magento-development/upgrade/how-to-upgrade-magento/
http://www.crucialwebhost.com/kb/installing-magento-via-ssh/
任何人都可以从地面帮助我。我需要从头开始了解它。我想替换下面的代码,但无法在我的数据库中找到该文件。我目前正在使用filezilla来访问我的服务器文件。我的数据库由另一家名为nexcess的公司维护。
wget http://www.magentocommerce.com/index.php/getmagento/1.9.1.0/magento-1.9.1.0.tar.gz
wget http://www.magentocommerce.com/downloads/assets/1.9.0.0/magento-sample-data-1.9.0.0.tar.gz
tar xvf magento-1.9.1.0.tar.gz
tar xvf magento-sample-data-1.9.0.0.tar.gz
mv magento-sample-data-1.9.0.0/media/* magento/media/
mv magento-sample-data-1.9.0.0/magento_sample_data_for_1.9.0.0.sql magento/data.sql
mv magento/* magento/.htaccess .
mysql -h DBHOST -u DBUSER -pDBPASS DBNAME < data.sql
rm -rf *.sample magento/ magento-sample-data-1.9.0.0/
rm -rf magento-1.9.1.0.tar.gz magento-sample-data-1.9.0.0.tar.gz data.sql
请帮我详细说明
答案 0 :(得分:20)
Upgrade Roadmap for CE 1.9.0.1 from 1.6
1) take a backup of current database and current 1.6 code.
2) download latest magento from the http://www.magentocommerce.com/download
3) remove all folders and files from your 1.6 code (but you should have backup somewhere) and place all folders and files from the 1.9.
4) now from your 1.6 merge your following folders into the 1.9
- Community app/code/community
- Local app/code/local
- Media
- your theme or package (app/design/frontend/default/<ur theme> or app/design/frontend/<your package>)
- custom folders from Skin (both for adminhtml and frontend).
- copy your custom xml files from app/etc/modules/ to current app/etc/modules/
- any custom admin theme folder from adminhtml/default/yourtheme.
- copy your custom folders from adminhtml/default/default/ (1.6) to adminhtml/default/default/ (1.9).
- custom js files if any from app/js/.
5) now go to app/etc/local.xml.Edit database details their.put your database username and password and database name.
6) now check the site.it done.`enter code here`
P.S。有关更多信息,请查看http://magento-online-tutorials.blogspot.in/2015/06/magento-upgrade-from-17-to-19.html
上的答案答案 1 :(得分:2)
您正在使用的任何模板都需要升级才能使用表格密钥,否则您的添加到购物车,注册等都会失败。
启动开发服务器或登台服务器的时间,这样您就不会破坏收入来源。
答案 2 :(得分:1)
使用下面的终端命令
chmod 550 mage
./mage mage-setup .
./mage config-set preferred_state stable
./mage sync
./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force
php shell/indexer.php reindexall
rm -rf downloader/.cache/ var/cache/
答案 3 :(得分:0)
使用magento Connect即可轻松升级。
选择:Mage_All_Latest,然后点击升级。它会自动升级到最新版本的magento。
答案 4 :(得分:-4)
您是否尝试过使用Magento Connect(System > Magento Connect > Magento Connect Manager
,如果您以前从未使用过它)进行升级?我刚刚在两周前从1.6.2到1.9做过,对我来说这很好。很简单,不需要任何SSH。