php168讨论区论坛 » PHP168整站使用求助、BUG反馈、经验交流区 » 3.0/3.1/3.5版本升级注意事项!
PHP168专用空间1G 150元/年 送域名和数据库 1.2G全能空间送200M数据库 仅售99元 1G双线双IP高速空间+200M数据库=158

1G双线空间+CN+SQL=99 免费代办备案

PHP168官方推荐虚机—阳光互联 上海电信DELL双志强598/月4G硬防10M带宽 域名1元/年 至强空间80/年 整机起售450/月 托管300/月 网拓1G双线空间送数据库+邮局=88元/年

广告位招租,联系QQ:81684210




本页主题: 3.0/3.1/3.5版本升级注意事项! 打印 | 加为IE收藏 | 收藏主题 | 上一主题 | 下一主题

oldmill 该用户目前不在线

头衔:168整站团队 168整站团队
级别: 高中生
发帖: 473
积分: 602 点
铜板: 0 个
注册时间:2005-03-07
最后登录:2008-09-22

3.0/3.1/3.5版本升级注意事项!

1.按照说明备份数据和文件,防止升级失败!!
2.升级时不要删除的install这个目录(升级清单有误),否则不能升级
3.在后台重新设置安装路径,否则不能正常显示!

4.升级完成后如果首页不能正常显示(显示一大堆数据库连接错误之类),进入后台"网站数据备份 "-->"Sql数据操作",在"请粘贴要执行的SQL语句代码"里面输入下面代码然后提交:

delete from php168bbs_label

5.后台重新设置标签

如有问题请跟帖提出
顶端 Posted: 2006-01-03 15:40 | [楼 主]
cegi 该用户目前不在线




1星级VIP用户
级别: 初中生
发帖: 275
积分: 403 点
铜板: 5 个
注册时间:2005-05-08
最后登录:2008-11-22

RE:3.0/3.1/3.5版本升级注意事项!

马上再试下。成功的话我就先给你磕头
*****************************************
*      签名档欠费,点击续费!        *
*****************************************
顶端 Posted: 2006-01-03 15:42 | 1 楼
cegi 该用户目前不在线




1星级VIP用户
级别: 初中生
发帖: 275
积分: 403 点
铜板: 5 个
注册时间:2005-05-08
最后登录:2008-11-22

RE:3.0/3.1/3.5版本升级注意事项!

对了,新安装的在线人数没显示(0)
*****************************************
*      签名档欠费,点击续费!        *
*****************************************
顶端 Posted: 2006-01-03 15:43 | 2 楼
菜鸟先飞 该用户目前不在线



级别: 高中生
发帖: 431
积分: 508 点
铜板: 0 个
注册时间:2005-04-21
最后登录:2008-09-23

RE:3.0/3.1/3.5版本升级注意事项!

还是一样哦,升级完成后如果首页不能正常显示(显示一大堆数据库连接错误之类),
已经运行
delete from php168bbs_label
我是3.1的.论坛也是自己带的,对了,我的3.1有一个表5M,无法备份,不敢试啊,用以前备份的在本机上试的
*****************************************
*      签名档欠费,点击续费!        *
*****************************************
顶端 Posted: 2006-01-03 15:46 | 3 楼
oldmill 该用户目前不在线

头衔:168整站团队 168整站团队
级别: 高中生
发帖: 473
积分: 602 点
铜板: 0 个
注册时间:2005-03-07
最后登录:2008-09-22

RE:

本文引用 4菜鸟先飞发表的话题
Quote:
还是一样哦,升级完成后如果首页不能正常显示(显示一大堆数据库连接错误之类),
已经

后台显示正常吗
顶端 Posted: 2006-01-03 15:48 | 4 楼
oldmill 该用户目前不在线

头衔:168整站团队 168整站团队
级别: 高中生
发帖: 473
积分: 602 点
铜板: 0 个
注册时间:2005-03-07
最后登录:2008-09-22

RE:3.0/3.1/3.5版本升级注意事项!

升级失败的请上传压缩包里的install目录重新升级
顶端 Posted: 2006-01-03 15:50 | 5 楼
vvv123 该用户目前不在线



级别: 小学生
发帖: 26
积分: 131 点
铜板: 0 个
注册时间:2006-01-03
最后登录:2006-03-16

RE:3.0/3.1/3.5版本升级注意事项!

我的后台一切正常,就是首页最上面出现了若干
如下:

数据库连接出错:select * from where ( >0 ) new AND picnews<>'' order by desc limit 0,4

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where ( >0 ) new AND picnews<>'' order by desc limit 0,4' at
1064数据库连接出错:select * from where ( >0 ) new AND picnews<>'' order by desc limit 0,1

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where ( >0 ) new AND picnews<>'' order by desc limit 0,1' at
1064数据库连接出错:select * from where ( >0 ) new AND picnews<>'' order by desc limit 0,1

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where ( >0 ) new AND picnews<>'' order by desc limit 0,1' at
1064数据库连接出错:select * from where ( >0 ) new AND picnews<>'' order by desc limit 0,1

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where ( >0 ) new AND picnews<>'' order by desc limit 0,1' at
1064数据库连接出错:select * from where ( >0 ) new AND picnews<>'' order by desc limit 0,1

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where ( >0 ) new AND picnews<>'' order by desc limit 0,1' at
1064数据库连接出错:select * from where ( >0 ) new AND picnews<>'' order by desc limit 0,4

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where ( >0 ) new AND picnews<>'' order by desc limit 0,4' at
1064数据库连接出错:select * from where ( >0 ) new order by desc limit 0,7

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where ( >0 ) new order by desc limit 0,7' at line 1
1064数据库连接出错:select a.* from a where a.>0 10 order by a. desc limit 0,1

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '>0 10 order by a. desc limit 0,1' at line 1
1064数据库连接出错:select r.* from r where ='' order by desc limit 0,1

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '='' order by desc limit 0,1' at line 1
1064

烦请帮忙,多谢了
顶端 Posted: 2006-01-03 15:51 | 6 楼
gxhc365 该用户目前不在线


1星级VIP用户
级别: 初中生
发帖: 196
积分: 334 点
铜板: 0 个
注册时间:2005-01-05
最后登录:2008-10-22

RE:3.0/3.1/3.5版本升级注意事项!

我的也一样哦,怎么办?
顶端 Posted: 2006-01-03 16:10 | 7 楼
心然 该用户目前不在线



头衔:我不懂技术,但会用心! 我不懂技术,但会用心!
级别: 初中生
发帖: 881
积分: 203 点
铜板: 0 个
注册时间:2004-03-25
最后登录:2008-09-24

RE:3.0/3.1/3.5版本升级注意事项!

我的是3.5测试二的升级后在首页也是出现了一大堆的东西,其他正常。
数据库连接出错:select * from music_music order by posttime desc limit 0,7

Table '168.music_music' doesn't exist
1146数据库连接出错:select * from music_music where ( special='99990' OR special=5 ) order by posttime desc limit 0,16

Table '168.music_music' doesn't exist
1146数据库连接出错:select * from music_music order by posttime desc limit 0,9

Table '168.music_music' doesn't exist
1146数据库连接出错:select * from music_music order by posttime desc limit 0,7

Table '168.music_music' doesn't exist
1146数据库连接出错:select * from flash_artic where ( fid='99990' OR fid=11 OR fid=13 OR fid=14 OR fid=21 OR fid=23 OR fid=24 OR fid=25 OR fid=26 ) order by posttime desc limit 0,8

Table '168.flash_artic' doesn't exist
1146数据库连接出错:select * from music_music where ( special='99990' OR special=8 ) order by posttime desc limit 0,16

Table '168.music_music' doesn't exist
1146数据库连接出错:select * from flash_artic where ( fid='99990' OR fid=4 OR fid=5 OR fid=6 OR fid=7 OR fid=8 OR fid=9 OR fid=10 ) order by posttime desc limit 0,8

Table '168.flash_artic' doesn't exist
1146数据库连接出错:select * from 168bbs_artic where ( fid='99990' OR fid=1 OR fid=864 OR fid=139 OR fid=8 OR fid=9 OR fid=12 OR fid=17 OR fid=19 OR fid=59 OR fid=60 OR fid=61 OR fid=62 OR fid=63 OR fid=64 OR fid=100 OR fid=135 OR fid=66 OR fid=67 OR fid=69 OR fid=138 OR fid=72 OR fid=73 OR fid=75 OR fid=76 OR fid=77 OR fid=1020 OR fid=79 OR fid=80 OR fid=83 OR fid=84 OR fid=86 OR fid=137 OR fid=89 OR fid=90 OR fid=91 OR fid=92 OR fid=93 OR fid=98 OR fid=99 OR fid=101 ) order by posttime desc limit 0,7

Table '168.168bbs_artic' doesn't exist
1146数据库连接出错:select * from 168bbs_artic where ( fid='99990' OR fid=1 OR fid=864 OR fid=139 OR fid=8 OR fid=9 OR fid=12 OR fid=17 OR fid=19 OR fid=59 OR fid=60 OR fid=61 OR fid=62 OR fid=63 OR fid=64 OR fid=100 OR fid=135 OR fid=66 OR fid=67 OR fid=69 OR fid=138 OR fid=72 OR fid=73 OR fid=75 OR fid=76 OR fid=77 OR fid=1020 OR fid=79 OR fid=80 OR fid=83 OR fid=84 OR fid=86 OR fid=137 OR fid=89 OR fid=90 OR fid=91 OR fid=92 OR fid=93 OR fid=98 OR fid=99 OR fid=101 ) order by lastpost desc limit 0,13

Table '168.168bbs_artic' doesn't exist
1146数据库连接出错:select * from 168bbs_artic where ( fid='99990' OR fid=1028 ) order by posttime desc limit 0,8

Table '168.168bbs_artic' doesn't exist
1146数据库连接出错:select * from 168bbs_artic where ( fid='99990' OR fid=247 ) order by posttime desc limit 0,10

Table '168.168bbs_artic' doesn't exist
1146数据库连接出错:select * from 168bbs_artic where ( fid='99990' OR fid=244 ) order by posttime desc limit 0,10

Table '168.168bbs_artic' doesn't exist
1146
*****************************************
*      签名档欠费,点击续费!        *
*****************************************
顶端 Posted: 2006-01-03 16:14 | 8 楼
无道 该用户目前不在线



级别: 小学生
发帖: 6
积分: 106 点
铜板: 0 个
注册时间:2005-12-20
最后登录:2006-01-16

RE:3.0/3.1/3.5版本升级注意事项!

我的新安装首页也出现以下错误,后台一切正常。


数据库连接出错:select * from php168bbs_artic where fid='2' order by list desc limit 8

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where fid='3' order by list desc limit 8

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where fid='4' order by list desc limit 8

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where fid='5' order by list desc limit 8

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where ( fid>0 ) AND picnews<>'' order by posttime desc limit 0,4

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where ( fid='99990' OR fid=51 OR fid=52 OR fid=53 OR fid=54 OR fid=55 OR fid=98 ) order by posttime desc limit 0,7

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic order by posttime desc limit 0,5

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where ( fid='99990' OR fid=83 ) order by posttime desc limit 0,5

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where ( fid='99990' OR fid=84 ) order by posttime desc limit 0,5

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where ( fid='99990' OR fid=85 ) order by posttime desc limit 0,5

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where ( fid='99990' OR fid=2 ) order by posttime desc limit 0,8

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where ( fid='99990' OR fid=3 ) order by posttime desc limit 0,8

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where ( fid='99990' OR fid=4 ) order by posttime desc limit 0,7

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where ( fid='99990' OR fid=5 ) order by posttime desc limit 0,7

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where ( fid='99990' OR fid=6 ) order by posttime desc limit 0,7

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where ( fid='99990' OR fid=7 ) order by posttime desc limit 0,7

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where ( fid='99990' OR fid=8 ) order by posttime desc limit 0,7

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where ( fid='99990' OR fid=2 ) order by posttime desc limit 0,7

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where ( fid='99990' OR fid=82 ) order by posttime desc limit 0,16

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where ( fid='99990' OR fid=8 ) order by posttime desc limit 0,12

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic where ( fid>0 ) AND picnews<>'' order by posttime desc limit 0,4

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic order by posttime desc limit 0,10

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146数据库连接出错:select * from php168bbs_artic order by lastpost desc limit 0,9

Table 'sq_lotteryfans.php168bbs_artic' doesn't exist
1146
顶端 Posted: 2006-01-03 16:17 | 9 楼
cegi 该用户目前不在线




1星级VIP用户
级别: 初中生
发帖: 275
积分: 403 点
铜板: 5 个
注册时间:2005-05-08
最后登录:2008-11-22

RE:3.0/3.1/3.5版本升级注意事项!

第一步就开始出错

数据库连接出错: DROP TABLE `php168bbs_hack`

Unknown table 'php168bbs_hack'
1051点击下一步,同步数据表结构
*****************************************
*      签名档欠费,点击续费!        *
*****************************************
顶端 Posted: 2006-01-03 16:21 | 10 楼
cegi 该用户目前不在线




1星级VIP用户
级别: 初中生
发帖: 275
积分: 403 点
铜板: 5 个
注册时间:2005-05-08
最后登录:2008-11-22

RE:3.0/3.1/3.5版本升级注意事项!

接着是

程序升级中。。。。

点击下一步,删除临时数据表

点击下一步,更新网站核心设置

点击下一步,更新栏目设置

点击下一步,更新用户组设置

点击下一步,更新附件数据

升级完毕,请点击进入后台更新缓存,与配置相关栏目设置及首页标签,如果网站出现不正常现象,请更修改栏目设置及用户组设置即可解决
*****************************************
*      签名档欠费,点击续费!        *
*****************************************
顶端 Posted: 2006-01-03 16:25 | 11 楼
cegi 该用户目前不在线




1星级VIP用户
级别: 初中生
发帖: 275
积分: 403 点
铜板: 5 个
注册时间:2005-05-08
最后登录:2008-11-22

RE:3.0/3.1/3.5版本升级注意事项!

升级完毕,请点击进入后台更新缓存,与配置相关栏目设置及首页标签,如果网站出现不正常现象,请更修改栏目设置及用户组设置即可解决

同时请手工删除此升级文件,否则不安全



注意,必须使用前台管理员登录后台,原来的管理员可能有些会造成登录不了,因为之前的后台管理员已失效.
如果你确实登录不了后台,请新注册一个帐号,然后修改文件php168/admin_1.php把里边的内容清空,添加如下代码
<?$admin_1="你新注册的用户名";?>
如果文件不存在的话,请创建一个,添加以上内容,再使用此帐号登录后台
*****************************************
*      签名档欠费,点击续费!        *
*****************************************
顶端 Posted: 2006-01-03 16:35 | 12 楼
cegi 该用户目前不在线




1星级VIP用户
级别: 初中生
发帖: 275
积分: 403 点
铜板: 5 个
注册时间:2005-05-08
最后登录:2008-11-22

RE:3.0/3.1/3.5版本升级注意事项!

死翘翘!还没成功!连站长先生我都进不去了。呜呼~~
*****************************************
*      签名档欠费,点击续费!        *
*****************************************
顶端 Posted: 2006-01-03 16:37 | 13 楼
心然 该用户目前不在线



头衔:我不懂技术,但会用心! 我不懂技术,但会用心!
级别: 初中生
发帖: 881
积分: 203 点
铜板: 0 个
注册时间:2004-03-25
最后登录:2008-09-24

RE:3.0/3.1/3.5版本升级注意事项!

顶给老大看
*****************************************
*      签名档欠费,点击续费!        *
*****************************************
顶端 Posted: 2006-01-03 17:21 | 14 楼
cegi 该用户目前不在线




1星级VIP用户
级别: 初中生
发帖: 275
积分: 403 点
铜板: 5 个
注册时间:2005-05-08
最后登录:2008-11-22

RE:3.0/3.1/3.5版本升级注意事项!

第一步就开始出错

数据库连接出错: DROP TABLE `php168bbs_hack`

Unknown table 'php168bbs_hack'
1051点击下一步,同步数据表结构
*****************************************
*      签名档欠费,点击续费!        *
*****************************************
顶端 Posted: 2006-01-03 17:55 | 15 楼
xxl737 该用户目前不在线

级别: 大专生
发帖: 1264
积分: 1250 点
铜板: 10 个
注册时间:2005-04-06
最后登录:2008-11-01

RE:3.0/3.1/3.5版本升级注意事项!

我的3.1版本运行update.php就出现


MYSQL 连接成功,但当前使用的数据库 不存在

No Database Selected
1046

*****************************************
*      签名档欠费,点击续费!        *
*****************************************
顶端 Posted: 2006-01-03 18:26 | 16 楼
龙城 该用户目前不在线

级别: 超级管理员
发帖: 10926
积分: 29644 点
铜板: 102 个
注册时间:2003-07-12
最后登录:2008-11-21

RE:

楼上的,请问你确认删除新版目录中的
php168/web_config.php吗?
顶端 Posted: 2006-01-03 20:19 | 17 楼
心然 该用户目前不在线



头衔:我不懂技术,但会用心! 我不懂技术,但会用心!
级别: 初中生
发帖: 881
积分: 203 点
铜板: 0 个
注册时间:2004-03-25
最后登录:2008-09-24

RE:

确认删除了
*****************************************
*      签名档欠费,点击续费!        *
*****************************************
顶端 Posted: 2006-01-03 20:21 | 18 楼
hucl 该用户目前不在线

级别: 高中生
发帖: 348
积分: 513 点
铜板: 18 个
注册时间:2005-04-16
最后登录:2008-10-22

打开任何一个栏目,顶部都有这个,文章页面没有,后台也没发现什么问题

打开任何一个栏目,顶部都有这个,文章页面没有,后台也没发现什么问题

数据库连接出错:select * from where ( ='99990' 18, ) new order by desc limit 0,10

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where ( ='99990' 18, ) new order by desc limit 0,10' at line
1064数据库连接出错:select * from where ( ='99990' 17, ) new order by desc limit 0,6

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where ( ='99990' 17, ) new order by desc limit 0,6' at line
1064数据库连接出错:select * from where ( ='99990' 15,27, ) new order by desc limit 0,10

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where ( ='99990' 15,27, ) new order by desc limit 0,10' at l
1064数据库连接出错:select * from where ( ='99990' 12, ) new order by desc limit 0,21

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where ( ='99990' 12, ) new order by desc limit 0,21' at line
1064数据库连接出错:select * from where ( >0 ) new order by desc limit 0,10

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where ( >0 ) new order by desc limit 0,10' at line 1
1064数据库连接出错:select a.* from a where a.>0 10 order by a. desc limit 0,1

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '>0 10 order by a. desc limit 0,1' at line 1
1064数据库连接出错:select r.* from r where ='' order by desc limit 0,1

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '='' order by desc limit 0,1' at line 1
1064数据库连接出错:select * from where ( >0 ) hits order by desc limit 0,10

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where ( >0 ) hits order by desc limit 0,10' at line 1
1064数据库连接出错:select * from where ( ='99990' 19, ) new order by desc limit 0,11

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where ( ='99990' 19, ) new order by desc limit 0,11' at line
1064数据库连接出错:select * from where ( ='99990' 17, ) new order by desc limit 0,20

You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'where ( ='99990' 17, ) new order by desc limit 0,20' at line
1064
*****************************************
*      签名档欠费,点击续费!        *
*****************************************
顶端 Posted: 2006-01-03 20:45 | 19 楼
php168讨论区论坛 » PHP168整站使用求助、BUG反馈、经验交流区
最漂亮的免费风格欣赏下载 以铜板换广告位二 以铜板换广告位三 以铜板换广告位四
以铜板换广告位五 以铜板换广告位六 以铜板换广告位七 以铜板换广告位八

Total 0.531484(s) query 4, Time now is:11-22 11:48, Gzip disabled
Powered by PHPWind v5.3 Certificate Code © 2003-07 PHPWind.com Corporation 京ICP备05047353号