$this->PDOStatement->execute(); // 调试结束 $this->debug(false); // 返回结果集 return $this->getResult($pdo, $procedure); } catch (\PDOException $e) { if ($this->isBreak($e)) { return $this->close()->query($sql, $bind, $master, $pdo); } throw new PDOException($e, $this->config, $this->getLastsql()); } catch (\Throwable $e) { if ($this->isBreak($e)) { return $this->close()->query($sql, $bind, $master, $pdo); } throw $e; } catch (\Exception $e) { if ($this->isBreak($e)) { return $this->close()->query($sql, $bind, $master, $pdo); }
重装论坛模块。或者是手工插入下面的数据库
DROP TABLE IF EXISTS `qb_bbs_content`; CREATE TABLE IF NOT EXISTS `qb_bbs_content` ( `id` int(8) unsigned NOT NULL AUTO_INCREMENT, `mid` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '模型ID', `fid` mediumint(7) NOT NULL COMMENT '栏目ID', `uid` int(8) NOT NULL, `view` mediumint(7) NOT NULL COMMENT '浏览量', `status` tinyint(2) NOT NULL COMMENT '状态:0未审 1已审 2推荐', `list` int(10) NOT NULL COMMENT '可控排序', `create_time` int(10) NOT NULL COMMENT '发布日期', `ext_id` mediumint(7) NOT NULL COMMENT '关联其它模型的内容ID', `ext_sys` smallint(4) NOT NULL COMMENT '关联其它模型的频道ID', `title` varchar(255) NOT NULL COMMENT '标题', PRIMARY KEY (`id`), KEY `mid` (`mid`), KEY `uid` (`uid`), KEY `view` (`view`), KEY `status` (`status`), KEY `list` (`list`), KEY `ext_id` (`ext_id`,`ext_sys`), KEY `fid` (`fid`), KEY `create_time` (`create_time`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='主题索引表' AUTO_INCREMENT=1;