一、升级 UCenter 到 1.5.0 版本
1、下载 UCenter 1.5.0 程序,解压后将 upload 下所有文件上传至服务器 UCenter 根目录下
2、通过浏览器访问 UCenter 下的 ./upgrade/upgrade2.php
3、点击开始升级直至升级完毕
详细文档:UCenter 1.0.0到UCenter 1.5.0升级图文教程
一、升级 Discuz!
1、下载的 Discuz!7.0.0 正式版的程序文件,解压后将 upload 中所有文件(除 config.inc.php)上传至论坛根目录
2、编辑论坛根目录的config.inc.php文件,将自己管理员账号的uid加入到 $forumfounders = ''; 设置$admincp['runquery'] = 1;
然后登陆论坛后台,找到 工具 => 数据库 => 升级,执行下面的 sql 语句:
REPLACE INTO cdb_settings VALUES ('avatarmethod', 0);
REPLACE INTO cdb_settings VALUES ('msn', '');
REPLACE INTO cdb_settings VALUES ('newbietask','');
REPLACE INTO cdb_settings VALUES ('taskon','1');
REPLACE INTO cdb_settings VALUES ('wapstatus','0');
REPLACE INTO cdb_settings VALUES ('warningexpiration','3');
ALTER TABLE cdb_attachments ADD INDEX `dateline` ( `dateline`, `isimage`, `downloads`);
ALTER TABLE cdb_forums CHANGE `allowfeed` `allowfeed` TINYINT( 1 ) NOT NULL DEFAULT '1';
ALTER TABLE cdb_memberfields CHANGE `msn` `msn` varchar(100) NOT NULL DEFAULT '';
ALTER TABLE cdb_tasks CHANGE `description` `description` text NOT NULL;
ALTER TABLE cdb_taskvars CHANGE `sort` `sort` enum('apply','complete','setting') NOT NULL DEFAULT 'complete';
ALTER TABLE cdb_warnings ADD INDEX `authorid` (`authorid`);
DROP TABLE IF EXISTS cdb_pms;
DROP TABLE IF EXISTS cdb_pmsearchindex;
DROP TABLE IF EXISTS cdb_buddys;
官方原帖:http://www.discuz.net/thread-1139744-1-1.html