Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

d2.5升d4出现错误

[复制链接]
pier1943 发表于 2005-12-13 11:17:58 | 显示全部楼层 |阅读模式
d2.5升d4出现错误

第7步升级后就出现下面的错误,请问有人知道解决方法吗?
Warning: halt(DISCUZ_ROOT./include/db_mysql_error.php): failed to open stream: No such file or directory in D:\usr\www\bbs\include\db_mysql.class.php on line 113
ramboo 发表于 2005-12-13 13:01:23 | 显示全部楼层
这个应该是出错了.你把2.5中的./include/db_mysql_error.php 复制到4.0中的./include下面看看有什么错误.
回复

使用道具 举报

 楼主| pier1943 发表于 2005-12-13 20:47:17 | 显示全部楼层
Warning: halt(DISCUZ_ROOT./include/db_mysql_error.inc.php): failed to open stream: No such file or directory in /home/domains/public_html/bbs/include/db_mysql.class.php on line 114

.......... help me admin thank .........
回复

使用道具 举报

oldsword 发表于 2005-12-13 22:28:28 | 显示全部楼层
好像有的空间不支持DISCUZ_ROOT 这个
把这个去掉就可以了
回复

使用道具 举报

 楼主| pier1943 发表于 2005-12-13 23:04:01 | 显示全部楼层
.........................


Discuz! info: MySQL Query Error

Time: 2005-12-13 2:52pm
Script: /bbs/upgrade25to4.php

SQL: ALTER TABLE cdb_members DROP site, DROP icq, DROP oicq, DROP yahoo, DROP msn, DROP location, DROP bio,
DROP avatar, DROP avatarwidth, DROP avatarheight, DROP customstatus, DROP ignorepm, DROP identifying,
CHANGE username username char(15) NOT NULL default '',
CHANGE adminid adminid TINYINT( 1 ) DEFAULT '0' NOT NULL,
CHANGE password password char(32) NOT NULL default '',
CHANGE secques secques char(8) NOT NULL default '',
CHANGE regip regip char(15) NOT NULL default '',
CHANGE lastip lastip char(15) NOT NULL default '',
CHANGE email email char(50) NOT NULL default '',
CHANGE dateformat dateformat char(10) NOT NULL default '',
CHANGE timeformat timeformat tinyint(1) NOT NULL default '0',
CHANGE signature sigstatus tinyint(1) NOT NULL default 0,
CHANGE postnum posts MEDIUMINT(8) UNSIGNED NOT NULL default '0',
CHANGE credit credits int(10) NOT NULL,
CHANGE showemail showemail tinyint(1) NOT NULL default '0',
CHANGE timeoffset timeoffset CHAR(4) NOT NULL,
ADD digestposts SMALLINT(6) UNSIGNED NOT NULL AFTER posts,
ADD groupexpiry INT(10) UNSIGNED NOT NULL AFTER groupid,
ADD pmsound TINYINT(1) NOT NULL AFTER timeformat,
CHANGE extracredit extcredits1 int(10) NOT NULL,
ADD extcredits5 int(10) NOT NULL AFTER extcredits1,
ADD extcredits4 int(10) NOT NULL AFTER extcredits1,
ADD extcredits3 int(10) NOT NULL AFTER extcredits1,
ADD extcredits2 int(10) NOT NULL AFTER extcredits1,
ADD extgroupids char(60) NOT NULL AFTER groupexpiry,
ADD avatarshowid int(10) UNSIGNED NOT NULL default '0' AFTER extcredits5,
ADD extcredits8 int(10) NOT NULL AFTER extcredits5,
ADD extcredits7 int(10) NOT NULL AFTER extcredits5,
ADD extcredits6 int(10) NOT NULL AFTER extcredits5,
ADD pageviews mediumint(8) UNSIGNED NOT NULL AFTER digestposts,
ADD oltime smallint(6) UNSIGNED NOT NULL AFTER digestposts,
DROP INDEX username,
ADD UNIQUE (username),
ADD INDEX (email)
Error: Duplicate column name 'pmsound'
Errno.: 1060

Similar error report has beed dispatched to administrator before.
回复

使用道具 举报

 楼主| pier1943 发表于 2005-12-14 01:30:37 | 显示全部楼层

2.5--->4.0 .........升级错误 有高手能帮帮忙吗?

MYSQL  这段........ ==>>>> cdb_stats  ===> var

Duplicate entry 'total' for key

剩 这1段无法.........删除


---------------------------------------------
升级错误.........  upgrade25to4.php?action=upgrade&step=1
-------------------

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/ezfsnet69c/domains/public_html/bbs/include/db_mysql.class.php on line 51

Discuz! info: MySQL Query Error

Time: 2005-12-13 4:44pm
Script: /bbs/upgrade25to4.php

SQL: ALTER TABLE cdb_templates DROP charset
Error: Can't DROP 'charset'; check that column/key exists
Errno.: 1091

An error report has been dispatched to our administrator
回复

使用道具 举报

bssn 发表于 2005-12-14 02:24:53 | 显示全部楼层
和我的问题一样

再次用升级程序 提示 您的版本不是 2.5 我这该去哪里升级啊!!
回复

使用道具 举报

AsIwish 发表于 2005-12-14 22:58:46 | 显示全部楼层
请用2.5数据标准化工具
把插件字段全部删除
才能保证升级的正确进行!
回复

使用道具 举报

goooob 发表于 2006-3-10 10:18:35 | 显示全部楼层
2.5数据标准化工具是什么?怎么用? 谢谢了
回复

使用道具 举报

goooob 发表于 2006-3-10 11:12:03 | 显示全部楼层
了解了,回家试试看了
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-12-27 20:45 , Processed in 0.026956 second(s), 4 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表