将Magento从1.5.1升级到1.6.1

将Magento从1.5.1升级到1.6.1,magento,magento-1.5,Magento,Magento 1.5,我正在想办法让我的Magento从1.5.1升级到1.6.1 在Magento Connect Manager中,我有几个升级的软件包,包括现在1.6.1版本的软件包(Mage_Locale_en_US、Mage_Downloader和Lib_Mage) 但网站和管理员仍然显示(1.5.1.0版)。如何完全升级到1.6.1?我尝试刷新浏览器和Magento的缓存 我做错了什么,或者遗漏了什么?Magento 1.6稳定版已经发布。在这个主要版本中已经做了很多修复。然后,您需要将您的Magento

我正在想办法让我的Magento从1.5.1升级到1.6.1

在Magento Connect Manager中,我有几个升级的软件包,包括现在1.6.1版本的软件包(Mage_Locale_en_US、Mage_Downloader和Lib_Mage)

但网站和管理员仍然显示(1.5.1.0版)。如何完全升级到1.6.1?我尝试刷新浏览器和Magento的缓存


我做错了什么,或者遗漏了什么?

Magento 1.6稳定版已经发布。在这个主要版本中已经做了很多修复。然后,您需要将您的Magento网站升级到最新版本

在本教程中,我将向您展示如何通过命令行将Magento从1.5.1.0升级到1.6.0

chmod 700 ./mage

./mage mage-setup .
./mage install community Mage_Downloader –force
./mage install community Mage_All_Latest –force

chmod 700 ./mage

./mage sync-pear
./mage list-installed
./mage list-upgrades
./mage install Mage_All_Latest –force

chmod 700 ./mage

./mage config-set preferred_state beta
./mage list-installed
./mage list-upgrades
注:

在任何步骤中,如果收到错误消息“bash:./mage:Permission denied”,请再次尝试从命令行使用此命令:

chmod 700 ./mage
完成上述所有步骤后,请记住清除所有缓存:

rm -rf /var/cache session
并重新索引所有表:

./shell php indexer.php reindexall
清除所有缓存并重新索引所有表后,如果您收到一些关于表间数据集成的错误消息,如:

a:5:{i:0;s:268:”Error in file: “/path_to_the_root_folder/app/code/core/Mage/Eav/sql/eav_setup/mysql4-upgrade-1.5.9.9-1.6.0.0.php” – SQLSTATE[HY000]: General error: 1025 Error on rename of ‘./your_database/customer_entity_text’ to ‘./your_database/#sql2-5ef-3a9′ (errno: 152)”;i:1;s:1080:”#0 /path_to_the_root_folder/app/code/core/Mage/Core/Model/Resource/Setup.php(645): Mage::exception(‘Mage_Core’, ‘Error in file: …’)
a:5:{i:0;s:268:”Error in file: “/path_to_the_root_folder/app/code/core/Mage/Eav/sql/eav_setup/mysql4-upgrade-1.5.9.9-1.6.0.0.php” – SQLSTATE[HY000]: General error: 1025 Error on rename of ‘./your_database/customer_entity_text’ to ‘./dev_migento/#sql2-5ef-3a9′ (errno: 152)”;i:1;s:1080:”#0 /path_to_the_root_folder /app/code/core/Mage/Core/Model/Resource/Setup.php(645): Mage::exception(‘Mage_Core’, ‘Error in file: …’)
请打开/app/etc/config.xml文件并将initStatements注释更改为

<initStatements>SET NAMES utf8</initStatements>
设置名称utf8

设置名称utf8;设置外键检查=0;
设置唯一检查=0;

试试这个,你会得到结果。

看起来你刚刚复制并粘贴了expertmagentodevelopers网站。可悲的是,我认为这篇文章有点过时,因为我有多个错误,包括:错误:频道添加:频道“社区”已经存在!错误:安装:包社区/Mage_Downloader失败:未检测到“Mage_Downloader”的版本
 <initStatements>SET NAMES utf8; SET FOREIGN_KEY_CHECKS=0; 
SET UNIQUE_CHECKS=0;</initStatements>