How to upgrade from Magento 1.5.1 to Magento 1.6.0

2,706次阅读
一条评论

共计 2971 个字符,预计需要花费 8 分钟才能阅读完成。

Learn how to upgrade to Magento 1.6 via SSH. Magento 1.6 version has been released. Lots of fixes has been done in this major release. So, if you want to upgrade from Magento 1.5.1 to Magento 1.6.0, this tutorial is for. This blog helps you to upgrade your Magento website to the latest version.

In this tutorial, you will be learning how to upgrade Magento from 1.5.1.0 to 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 http://connect20.magentocommerce.com/community Mage_All_Latest –force
chmod 700 ./mage
./mage config-set preferred_state beta
./mage list-installed
./mage list-upgrades

Note:

At any step, if you get the error message “bash: ./mage: Permission denied”, please try to use this command: “chmod 700 ./mage” from command line again.

After doing all above steps, remember to clear all caches:
To clear the cache, simply delete everything from the /var/cache directory.

After clearing caches, re index all tables:

rm -rf var/cache var/session/

chmod 550 ./mage

./mage mage-setup .

./mage config-set preferred_state stable

./mage list-installed

./mage list-upgrades

./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force
php shell/indexer.php reindexall
After clearing all caches and reindexing all tables, if you get some error messages about data integration among tables like:
 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: …’)
Please open the /app/etc/config.xml file and change the initStatements note from

<initStatements>SET NAMES utf8</initStatements> 

To

<initStatements>SET NAMES utf8; SET FOREIGN_KEY_CHECKS=0;

SET UNIQUE_CHECKS=0;</initStatements>

Magento Upgrade Error:

“SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry”

The solution is to modify your /app/etc/config.xml file with the following:

Original statement

<initStatements>SET NAMES utf8</initStatements>

Modified statement

<initStatements>SET NAMES utf8; SET FOREIGN_KEY_CHECKS=0; 
SET UNIQUE_CHECKS=0;</initstatements>

Upgrade from Magento 1.5.1 to Magento 1.6.0 Manually:

  1. Download Magento CE Version 1.6.0.0 Stable.
  2. Upload the files to your hosting Via FTP
  3. Change the permission to 777 (app/etc, media, var)
  4. Change the “mage” file to 775

Note: If you are not able to upgrade to Magento 1.6 , in that case you can hire our Magento Experts for upgrading Magento.

Download Magento CE  Version 1.6.0.0 Stable

正文完
 0
评论(一条评论)
2011-09-25 00:36:59 回复

You have shed a ray of snusnhie into the forum. Thanks!

 Windows  MSIE  美国弗吉尼亚Level3

空瓶子部落

文章搜索
推荐阅读
金属材料的氢脆

金属材料的氢脆

氢是金属中的有害元素,极少量的氢就可以使材料变脆。材料中的氢和应力同时存在,就可能是材料发生脆断。这种应力可以...
O型圈密封知识大全(下)

O型圈密封知识大全(下)

(四)配合沟槽与密封圈尺寸参数 密封用沟槽尺寸及压缩量 (五)O 型圈的使用安装与泄漏 5.1 O 型圈的使用...
质量宣传标语大全(400多条)

质量宣传标语大全(400多条)

质量标语、质量口号在我们工作、生活中随处可见。有些标语高端大气上档次,而有些标语则很奇葩。你还记得哪些标语让你...
SPC基础及应用 (附:PPT课件)

SPC基础及应用 (附:PPT课件)

统计过程控制(SPC)是一种借助数理统计方法的过程控制工具,广泛应用于制造业和服务业中,以保证产品或服务质量,...
目标“落地难”,本质是“目标拆解难”!

目标“落地难”,本质是“目标拆解难”!

最近和几位企业家聊天,大家不约而同提到同一个问题: 年初制定的目标轰轰烈烈,马上一季度结束了,却发现进度条卡在...
最新文章
Free TV:全球免费电视频道 M3U 播放列表,狂揽数万 Star

Free TV:全球免费电视频道 M3U 播放列表,狂揽数万 Star

https://github.com/Free-TV/IPTV 项目简介 Free TV 是一个精心维护的开源...
群晖 Let’s Encrypt 泛域名证书自动更新

群晖 Let’s Encrypt 泛域名证书自动更新

目前acme协议版本更新,开始支持泛域名(wildcard),也就是说,可以申请一个类似*.domain.co...
可以卸载TV Box 了,这款支持「绅士模式」的影视神器你值得拥有

可以卸载TV Box 了,这款支持「绅士模式」的影视神器你值得拥有

还在为找优秀片源难、广告多、平台会员太贵而烦恼?今天给大家挖到一款真正的影视宝藏工具——小猫影视! 作为开源免...
【收藏】一次性解决TV点播/直播自由

【收藏】一次性解决TV点播/直播自由

很多时候,资源就在面前,但是我们视而不见,因为长久的安逸,已经让人失去动手的兴趣。但是每次我需要挨个切换APP...
OpenWrt 存储空间扩容的两种方案

OpenWrt 存储空间扩容的两种方案

说明:当我们通过群晖 VMM 虚拟机安装 Open­Wrt 时,默认会分配一个 10GB 的存储空间,而实际情...
热门文章
提高过程能力指数(CP/CPK)的途径

提高过程能力指数(CP/CPK)的途径

编者按:过程能力指数(CP/CPK)想必各位质量人都耳熟能详、运用自如,质量工程师之家前期也共享过数篇关于过程...
SPC控制图的八种模式分析

SPC控制图的八种模式分析

SPC控制图有八种模式,即八种判断异常的检验准则,每一种检验准则代表一种异常现象,应用SPC控制图进行过程评估...
测量高手放大招:圆跳动测量技巧总结

测量高手放大招:圆跳动测量技巧总结

01. 前言 在五金机加工厂实际的测量工作中,经常碰到要求测量两个要素的圆跳动问题, 利用不同的测量辅件及夹具...
过程能力分析(CP&cpk)

过程能力分析(CP&cpk)

引入过程能力分析的目的? 在我们现有的管理过程中,我们经常会遇到有些具体指标总是不尽人意,存在许多需要改进的地...
新能源汽车 “两会”精神宣贯会

新能源汽车 “两会”精神宣贯会

此次和大家分享新能源汽车相关政策: [embeddoc url=”https://www.ctro...
最新评论
多乐士 多乐士 通过摸索发现ssh拉取会报错,直接网页访问下载会报404错误,不知道原因;但是可以通过群晖CM注册表访问下载,其方法如下: Container Manager-注册表-设置-新增-注册表名称随便写,注册表URL填你的加速地址,勾选信任的SSL自我签署证书,登录信息不填-应用-使用你的地址,这是注册表会显示了,在搜索栏中输入映像名称,搜索结果在每一页的最后一个,你需要划到最后一个进行下载,实测可正常下载安装。 以上供网友参考。
多乐士 多乐士 还有一个比较简单的方法,只是需要一些外部工具。 1、讲损毁硬盘取出,装入外部移动硬盘 2、打开Diskgenius,定位到硬盘 3、格式化系统分区 4、重新插入硬盘 5、存储池->修复存储池即可
多乐士 多乐士 写的不错的文章
辞了老衲 辞了老衲 这个确实有帮助。
渋驀 渋驀 当然任何时候都可以用curl命令和crontab来实现动态更新DDNS的ip地址: 1、安装crontab之后为root用户创建文件/var/spool/cron/root 2、创建并配置ddnsupdate.sh,放到/usr/bin/文件下,文件内容(以he.net为例): Autodetect my IPv4/IPv6 address: IPV4:curl -4 "http://dyn.example.com:password@dyn.dns.he.net/nic/update?hostname=dyn.example.com" IPV6:curl -6 "http://dyn.example.com:password@dyn.dns.he.net/nic/update?hostname=dyn.example.com" 3、添加执行权限chomod +x /usr/bin/ddnsupdate.sh 4、编辑root用户的crontab:*/10 * * * * /usr/binddnsupdate.sh,每10分钟执行一次。好了,可以享受你的DDNS了
21410 21410 请问下载链接在那里?
madkylin madkylin 不错,不错,谢谢分享了,好东西啊 :lol:
feilung feilung 求方法
zengsuyi zengsuyi 应该挺不错的
zise zise 看看是怎么操作的。。 :oops: