开源12.1部署完后提交bug出现报错已解决 悬赏10积分
有一些保存按钮点击后也没有任何响应.实际是成功了.
这个是提交bug时的提示内容:
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
</head>
<body>
<br />
10:44:22 ERROR: SQLSTATE[42S02]: Base table or view not found: 1146
Table 'zentao.zt_im_message' doesn't exist<p>
The sql is: INSERT INTO `zt_im_message` SET `gid` = 'a6cf6030-b79a-9eba-8aee-3ffb3737d51f',`cgid` = 'notification',`user` = '0',`date` = '2020-03-17 10:44:22',`order` = '0',`type` = 'notify',`content` = '',`contentType` = 'text',`data` = '{\"title\":\"admin \\u521b\\u5efaBug [#75::1112]\",\"subtitle\":\"\",\"url\":\"http:\\/\\/www.chandao.119xiehui.com:8011\\/zentao\\/bug-view-75.html\",\"actions\":[],\"sender\":{\"id\":\"zentao\",\"realname\":\"\\u7985\\u9053\\u9879\\u76ee\\u7ba1\\u7406\",\"name\":\"\\u7985\\u9053\\u9879\\u76ee\\u7ba1\\u7406\"},\"target\":[4]}'</p> in lib\base\dao\dao.class.php on line 1394, last called by lib\base\dao\dao.class.php on line 768 through function sqlError.<br /> in <strong>framework\base\router.class.php</strong> on line <strong>2224</strong> when visiting <strong>bug-create-1-0-moduleID=1</strong><br /> </body></html>
parsererrorSyntaxError: Unexpected token < in JSON at position 0
.我看了下数据库里边并不存在这个 zt_im_message表.是否是不存在导致的.我是用的是windows意见安装包.部署后只改过一次域名地址.
禅道版本:12.1
安装包类型:Windows安装包
操作系统:Windows Server 2008
客户端浏览器:IE10
石洋洋
2020/03/17
不好意思,全新windows一键安装包部署12.1版本这块有问题,数据库缺少字段,目前可以通过以下2种方案解决:
回复
|