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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

Discuz! 6.0.0-6.1.0 图文升级教程

[复制链接]
chauzzi 发表于 2008-11-22 12:29:39 | 显示全部楼层
UC 数据怎么恢复呢?
回复

使用道具 举报

ks1 发表于 2008-11-24 15:16:24 | 显示全部楼层
恩,不错,知道了!
回复

使用道具 举报

86542011 发表于 2008-11-24 18:24:54 | 显示全部楼层
学习了,真的吧错
回复

使用道具 举报

bhbhjackyin 发表于 2008-12-1 18:18:10 | 显示全部楼层
大家好,我升级完打开页面,页面上竟然把代码也显示出来了!!!


y($query, $result_type); } function fetch_first($sql) { return $this->fetch_array($this->query($sql)); } function result_first($sql) { return $this->result($this->query($sql), 0); } function query($sql, $type = '') { global $debug, $discuz_starttime, $sqldebug, $sqlspenttimes; if(defined('SYS_DEBUG') && SYS_DEBUG) { @include_once DISCUZ_ROOT.'./include/debug.func.php'; sqldebug(); } $func = $type == 'UNBUFFERED' && @function_exists('mysql_unbuffered_query') ? 'mysql_unbuffered_query' : 'mysql_query'; if(!($query = $func($sql, $this->link))) { if(in_array($this->errno(), array(2006, 2013)) && substr($type, 0, 5) != 'RETRY') { $this->close(); require DISCUZ_ROOT.'./config.inc.php'; $this->connect($dbhost, $dbuser, $dbpw, $dbname, $pconnect, true, $dbcharset); $this->query($sql, 'RETRY'.$type); } elseif($type != 'SILENT' && substr($type, 5) != 'SILENT') { $this->halt('MySQL Query Error', $sql); } } $this->querynum++; return $query; } function affected_rows() { return mysql_affected_rows($this->link); } function error() { return (($this->link) ? mysql_error($this->link) : mysql_error()); } function errno() { return intval(($this->link) ? mysql_errno($this->link) : mysql_errno()); } function result($query, $row = 0) { $query = @mysql_result($query, $row); return $query; } function num_rows($query) { $query = mysql_num_rows($query); return $query; } function num_fields($query) { return mysql_num_fields($query); } function free_result($query) { return mysql_free_result($query); } function insert_id() { return ($id = mysql_insert_id($this->link)) >= 0 ? $id : $this->result($this->query("SELECT last_insert_id()"), 0); } function fetch_row($query) { $query = mysql_fetch_row($query); return $query; } function fetch_fields($query) { return mysql_fetch_field($query); } function version() { if(empty($this->version)) { $this->version = mysql_get_server_info($this->link); } return $this->version; } function close() { return mysql_close($this->link); } function halt($message = '', $sql = '') { define('CACHE_FORBIDDEN', TRUE); require_once DISCUZ_ROOT.'./include/db_mysql_error.inc.php'; } } ?>
回复

使用道具 举报

luboman 发表于 2008-12-3 15:28:24 | 显示全部楼层
回复

使用道具 举报

lookmoon 发表于 2008-12-7 20:16:33 | 显示全部楼层
学习了
回复

使用道具 举报

hxjsj 发表于 2008-12-12 15:02:59 | 显示全部楼层
不错,准备升级咯,哈
回复

使用道具 举报

londy 发表于 2008-12-12 15:15:16 | 显示全部楼层
xuexi......
回复

使用道具 举报

huaganshang 发表于 2008-12-15 12:00:19 | 显示全部楼层
我现在正在用  SupeSite+discuz6.0,现在想升级,也必须要安装 ucenter吗?
回复

使用道具 举报

yua3891 发表于 2008-12-18 21:07:14 | 显示全部楼层
留着备份。准备升级。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-10-5 11:14 , Processed in 0.116578 second(s), 17 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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