phpwind8.7升级9.0.1过程(四)20130207升级到20141228
2015-03-30 10:09
211 查看
每一次升级前都要注意备份
1.网站根目录的所有文件
2.网站的数据库
根据phpwind官方教程
更新到20130702版本成功并备份
更新到20140428版本成功并备份
20141228版本的更新需要将升级包覆盖之后并且将fix.php文件下载到网站根目录并且执行。
更新到20141228版本成功并且备份。Ps:20141228版本即phpwind9.0.1版本
准备更新到phpwind’9.0.1
更新到9.0.1之后发现的问题
问题:论坛右侧的快速登陆框点击登陆的时候出现Not exist view template file or Incorrect file path …………
问题原因:因为phpwind官方在1223版本补丁包修复了一个安全漏洞的同时将右侧的快速登陆窗口取消掉了,但是再老的模板文件中此项功能并没有去掉
解决办法:在自己的模板文件:\themes\site\自己的模板文件夹\template\common\sidebar_mod_my.htm中改变其中将快速登陆注释掉,并且在下方添加登录功能如下:
问题原因二:有时候问题原因也有可能因为后台没有更换模板导致
解决办法:在后台--模板--管理--本地安装--将模板安装之后切换到整站模板--应用到刚才的模板
问题:在按照phpwind官方的模板制作教程时打包成zip格式上传之后出现找不到路径的问题。
问题原因:压缩解压的时候路径错误
解决办法:直接将做好的模板文件放到/themes/portal/local/创建出来的模板文件夹,而不经过压缩解压的步骤
以下是碰到的一些细微的问题:
在做网站body部分的模板的时候,网站颜色不为纯白色经过修改C:\AppServ\www\themes\site\nextwind\css\dev\style.css中body的颜色完成白色的替换。
在改动头部文件的时候在C:\AppServ\www\template\common\head.htm文件中第二行改在浏览器中标签的样式
在C:\AppServ\www\template\common\footer.htm第18行左右修改底部的样式
改变头部背景:
在C:\AppServ\www\themes\site\nextwind\css\dev\style.css199行附近有整个头部的包裹导航,将整个文字段复制到C:\AppServ\www\themes\portal\local\special_4\css\style.css的60行左右,将其中的background哪一行替换为background:url(../images/bg.jpg);并且将bg.jpg复制到C:\AppServ\www\themes\portal\local\special_4\images、目录下面。
然后更新站点缓存
改变头部logo:
在后台设置中搜索logo,一般在模板管理--界面管理---设置站点logo---上传之后选择锁定。
1.网站根目录的所有文件
2.网站的数据库
根据phpwind官方教程
更新到20130702版本成功并备份
更新到20140428版本成功并备份
20141228版本的更新需要将升级包覆盖之后并且将fix.php文件下载到网站根目录并且执行。
更新到20141228版本成功并且备份。Ps:20141228版本即phpwind9.0.1版本
准备更新到phpwind’9.0.1
更新到9.0.1之后发现的问题
问题:论坛右侧的快速登陆框点击登陆的时候出现Not exist view template file or Incorrect file path …………
问题原因:因为phpwind官方在1223版本补丁包修复了一个安全漏洞的同时将右侧的快速登陆窗口取消掉了,但是再老的模板文件中此项功能并没有去掉
解决办法:在自己的模板文件:\themes\site\自己的模板文件夹\template\common\sidebar_mod_my.htm中改变其中将快速登陆注释掉,并且在下方添加登录功能如下:
<div class="box_wrap sidebar_login"> <!-- <form id="J_login_form" action="{@url:u/login/dologin}" method="post"> <dl> <dt id="J_sidebar_login_dt" class="cc"> <i class="icon_username" title="请输入{$_loginWay}"></i><label for="J_username">用户名</label><input required type="text" class="input" id="J_username" name="username" placeholder="{$_loginWay}"> <i class="icon_password" title="请输入密码"></i><label for="J_password">密 码</label><input required type="password" class="input" id="J_password" name="password" placeholder="密码"> </dt> <dd class="associate"><a class="sendpwd" rel="nofollow" href="{@url:u/findPwd/run}">找回密码</a><label for="head_checkbox" title="下次自动登录"><input type="checkbox" id="head_checkbox" name="rememberme" value="31536000">自动登录</label></dd> <dd class="operate"><button type="submit" id="J_sidebar_login" class="btn btn_big btn_submit">登录</button><a class="btn btn_big btn_error" href="{@url:u/register/run}" rel="nofollow">立即注册</a></dd> </dl> </form> --> <dd class="operate"><button type="button" id="J_sidebar_login" class="btn btn_big btn_submit" onclick="location.href='{@url:u/login/run}'">登录</button><a class="btn btn_big btn_error" href="{@url:u/register/run}" rel="nofollow" onclick="location.href='{@url:u/register/run}'">立即注册</a></dd> </div>
问题原因二:有时候问题原因也有可能因为后台没有更换模板导致
解决办法:在后台--模板--管理--本地安装--将模板安装之后切换到整站模板--应用到刚才的模板
问题:在按照phpwind官方的模板制作教程时打包成zip格式上传之后出现找不到路径的问题。
问题原因:压缩解压的时候路径错误
解决办法:直接将做好的模板文件放到/themes/portal/local/创建出来的模板文件夹,而不经过压缩解压的步骤
以下是碰到的一些细微的问题:
在做网站body部分的模板的时候,网站颜色不为纯白色经过修改C:\AppServ\www\themes\site\nextwind\css\dev\style.css中body的颜色完成白色的替换。
在改动头部文件的时候在C:\AppServ\www\template\common\head.htm文件中第二行改在浏览器中标签的样式
在C:\AppServ\www\template\common\footer.htm第18行左右修改底部的样式
改变头部背景:
在C:\AppServ\www\themes\site\nextwind\css\dev\style.css199行附近有整个头部的包裹导航,将整个文字段复制到C:\AppServ\www\themes\portal\local\special_4\css\style.css的60行左右,将其中的background哪一行替换为background:url(../images/bg.jpg);并且将bg.jpg复制到C:\AppServ\www\themes\portal\local\special_4\images、目录下面。
然后更新站点缓存
改变头部logo:
在后台设置中搜索logo,一般在模板管理--界面管理---设置站点logo---上传之后选择锁定。
相关文章推荐
- phpwind8.7升级9.0.1过程(一)本地和服务器数据同步的部署
- phpwind8.7升级9.0.1过程(三)20130107升级到20130227
- phpwind8.7升级9.0.1过程(二)8.7正式升级9.0
- 『网站升级』PHPWind8.0至8.3升级过程及问题种种回顾录
- Android系统Recovery工作原理之使用update.zip升级过程分析(二)---update.zip差分包问题的解决
- PHP升级到4.3版本之后改变了调用存储过程的一个特性
- nginx0.8升级到nginx1.05过程
- Android系统Recovery工作原理之使用update.zip升级过程分析(五)---update.zip包从上层进入Recovery服务
- Linux内核升级全过程
- 女友升级到老婆的过程中发生的bug
- Android系统Recovery工作原理之使用update.zip升级过程分析(五)---update.zip包怎样从上层进入Recovery服务
- Android系统Recovery工作原理之使用update.zip升级过程分析(四)---Android系统Recovery模式的工作原理
- centos6.4升级Python过程总结
- RHEL5.2内核升级过程
- 记录一次升级迁移的过程
- Mysql5.5升级到5.7的过程已经踩到的坑
- windows 下 oracle 从9.2.0.1 升级到9.2.0.8 过程中出错解决办法及相关注意事项
- websphere4升级到6过程中遇到的问题
- Android系统Recovery工作原理之使用update.zip升级过程分析(二)---update.zip差分包问题的解决
- exchange 2010 sp2 升级过程准备和部署