gpt4 book ai didi

php - 如何将 Magento 1.6 升级到 magento 1.9

转载 作者:太空狗 更新时间:2023-10-29 16:50:39 25 4
gpt4 key购买 nike

我现在的网站运行在 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

请帮我解决一下

最佳答案

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`

附言有关更多信息,请查看我在 http://magento-online-tutorials.blogspot.in/2015/06/magento-upgrade-from-17-to-19.html 上的回答

关于php - 如何将 Magento 1.6 升级到 magento 1.9,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24043812/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com