ZenCart1.38 1.39升级到ZenCart1.5方法

时间:12-09-23 栏目:网站开发 作者:admin 评论:0 点击: 10,610 次

一、安装ZenCart1.5环境要求

进入后台“工具》服务器/版本信息”菜单,查看服务器信息:
PHP 5.2 以上
MySQL 4.1 以上
Apache 2.0 以上(如果不是Apache也可以用Nginx,LiteSpeed等WEB服务器)

如果空间满足以上安装zencart 1.5最低要求,继续下一步

二、前期准备

备份网站数据文件和数据库,便于升级过程中出现问题可以恢复

三、插件准备

理出自己网站所用的插件名单,到zencart官网上找到他们最新的1.5版的插件,如果插件没有更新,可以在本地测试下老版插件在1.5版中是否可以正常使用
如果不能使用,就只能现删除此插件,或者等待作者更新了
记录非模板部分的的二次开发修改的地方,便于升级后,在改过来

四、开始升级

1.下载对应语言版本1.5.0版zencart(下载)或到官方网站http://www.zen-cart.com下载,然后解压后,将admin文件夹改名为自己后台目录名称
2.然后上传所有文件到 网站根目录,浏览器中运行http://www.xxx.com/zc_install/
按提示步骤升级

升级后,提示一些警告信息,一般都是跳过执行的的sql语句,不用管它,点击Done With updates完成升级
登陆网站后台Configuration –>Website Maintenance–>Down for Maintenance: ON/OFF改为false
以下是需要删除的文件列表,1.5版后不需要这些文件,如果不删除可能会留下安全隐患:

/admin/admin.php - replaced with new suite of files such as users.php
/admin/email_welcome.php
/admin/includes/fckeditor.php (use the CKEditor addon if needed)
/admin/includes/htmlarea.php (htmlarea removed from core. Use preferred addon if needed)
/admin/includes/tld.txt
/admin/includes/boxes/ (entire folder and subfolders)
/admin/includes/functions/compatibility.php (unused file)
/admin/includes/languages/english/cache.php
/admin/includes/languages/english/email_welcome.php
/admin/includes/languages/english/extra_definitions/editors_list.php (emptied - file can be deleted)
/admin/includes/languages/english/extra_definitions/onlyFor139.php (emptied - file can be deleted)
/editors/htmlarea (entire folder)
/includes/languages/english/tell_a_friend.php
/includes/languages/english/modules/shipping/ups.php
/includes/languages/english/modules/shipping/usps.php
/includes/modules/pages/tell_a_friend/header_php.php (the whole folder)
/includes/modules/sideboxes/tell_a_friend.php
/includes/modules/shipping/ups.php
/includes/modules/shipping/usps.php
/includes/templates/template_default/common/tpl_header_test_info.php
/includes/templates/template_default/sideboxes/tpl_tell_a_friend.php
/includes/templates/template_default/templates/tpl_tell_a_friend_default.php

五、升级插件

将自己网站需要的插件升级.

声明: 本文由( admin )原创编译,转载请保留链接: ZenCart1.38 1.39升级到ZenCart1.5方法

ZenCart1.38 1.39升级到ZenCart1.5方法:等您坐沙发呢!

发表评论


------====== 本站公告 ======------
联系信息:
电话:19970108113(微信同号) QQ:3142401606
支付宝:https://me.alipay.com/lxq73061
相关插件程序等信息均会在站内发布,敬请关注。

读者排行