提交数据都会报错no response,但是刷新数据会保存,批量任务只能保存一条

2022-09-13 15:33:08
MCS
  • 访问次数: 9
  • 注册日期: 2022-07-20
  • 最后登录: 2022-12-15
  • 我的积分: 93
  • 门派等级: 无门派
提交数据都会报错no response,但是刷新数据会保存,批量任务只能保存一条
沙发
2022-09-13 16:05:59
禅道-Bee
  • 访问次数: 5117
  • 注册日期: 2017-02-22
  • 最后登录: 2024-04-25
  • 我的积分: 41096
  • 门派等级: 幽灵 等级5 天魔

1. admin 后台 通知,看下是否配置了发信,如果配置了,选择异步试试。

2. admin 后台 通知,看下是否配置了webhook,如果配置了,可以先关闭下,再试试。

3. 如果都没有配置,可以先看下日志:

zentao/config/my.php 中debug的值改成true  重新操作一下 看日志文件 zentao/tmp/log/php开头的今天的文件有什么报错。注:不要找sql开头的文件。

板凳
2022-09-13 18:38:10 回复#1
MCS
  • 访问次数: 9
  • 注册日期: 2022-07-20
  • 最后登录: 2022-12-15
  • 我的积分: 93
  • 门派等级: 无门派
发信方式和webhook都没配置过,改了debug为ture,没有报错,但是,好了...... 我后面再跟踪,再报错我贴上来,感谢大佬
#3
2022-09-26 11:17:23
MCS
  • 访问次数: 9
  • 注册日期: 2022-07-20
  • 最后登录: 2022-12-15
  • 我的积分: 93
  • 门派等级: 无门派
<?php
 die();
?>

08:36:36 Use of undefined constant TABLE_IM_MESSAGE - assumed 'TABLE_IM_MESSAGE' (this will throw an Error in a future version of PHP) in D:\xampp\zentao\module\im\model\message.php on line 508 when visiting bug-resolve-373

08:36:36 ERROR: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zentao.table_im_message' doesn't exist&lt;p&gt;The sql is: INSERT INTO TABLE_IM_MESSAGE SET `gid` = '3ddb83c4-a463-5a94-7568-71306b562a34',`cgid` = 'notification',`user` = '0',`date` = '2022-09-26 08:36:36',`order` = '0',`type` = 'notify',`content` = '',`contentType` = 'text',`data` = '{\&quot;title\&quot;:\&quot;\\u8303\\u65b0\\u51ef \\u89e3\\u51b3\\u4e86Bug [#373::\\u6253\\u5370\\u901a\\u884c\\u5361\\u7684\\u65f6\\u5019\\uff0c\\u901a\\u884c\\u5361\\u7c7b\\u578b\\u6ca1\\u6709\\u7ed1\\u5b9a\\u6253\\u5370\\u6a21\\u677f\\u5c31\\u4f1a\\u767d\\u5c4f]\&quot;,\&quot;subtitle\&quot;:\&quot;\&quot;,\&quot;url\&quot;:\&quot;xxc:openInApp\\/zentao-integrated\\/http%3A%2F%2F192.168.4.115%3A8088%2Fzentao%2Fbug-view-373.html\&quot;,\&quot;actions\&quot;:[],\&quot;sender\&quot;:{\&quot;id\&quot;:\&quot;zentao\&quot;,\&quot;realname\&quot;:\&quot;\\u7985\\u9053\\u9879\\u76ee\\u7ba1\\u7406\&quot;,\&quot;name\&quot;:\&quot;\\u7985\\u9053\\u9879\\u76ee\\u7ba1\\u7406\&quot;},\&quot;target\&quot;:[5,6]}'&lt;/p&gt; in D:\xampp\zentao\lib\base\dao\dao.class.php on line 1397, last called by D:\xampp\zentao\lib\base\dao\dao.class.php on line 770 through function sqlError.
 in D:\xampp\zentao\framework\base\router.class.php on line 2231 when visiting bug-resolve-373

08:46:03 file_get_contents(): php_network_getaddresses: getaddrinfo failed: 锟斤拷知锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷  in D:\xampp\zentao\module\misc\control.php on line 70 when visiting misc-checkUpdate-98fe55fa09fd3258dbd250c3854776c6

08:46:04 file_get_contents(https://api.zentao.net/updater-isLatest-12.4.3-98fe55fa09fd3258dbd250c3854776c6.html?lang=zh_cn): failed to open stream: php_network_getaddresses: getaddrinfo failed: 锟斤拷知锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷  in D:\xampp\zentao\module\misc\control.php on line 70 when visiting misc-checkUpdate-98fe55fa09fd3258dbd250c3854776c6

08:46:06 file_get_contents(): php_network_getaddresses: getaddrinfo failed: 锟斤拷知锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷  in D:\xampp\zentao\module\misc\control.php on line 70 when visiting misc-checkUpdate-98fe55fa09fd3258dbd250c3854776c6

08:46:06 file_get_contents(https://api.zentao.net/updater-isLatest-12.4.3-98fe55fa09fd3258dbd250c3854776c6.html?lang=zh_cn): failed to open stream: php_network_getaddresses: getaddrinfo failed: 锟斤拷知锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷  in D:\xampp\zentao\module\misc\control.php on line 70 when visiting misc-checkUpdate-98fe55fa09fd3258dbd250c3854776c6

08:47:53 Use of undefined constant TABLE_IM_MESSAGE - assumed 'TABLE_IM_MESSAGE' (this will throw an Error in a future version of PHP) in D:\xampp\zentao\module\im\model\message.php on line 508 when visiting task-edit-42

08:47:53 ERROR: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'zentao.table_im_message' doesn't exist&lt;p&gt;The sql is: INSERT INTO TABLE_IM_MESSAGE SET `gid` = '054cdc42-908c-abab-6793-c355937c1811',`cgid` = 'notification',`user` = '0',`date` = '2022-09-26 08:47:53',`order` = '0',`type` = 'notify',`content` = '',`contentType` = 'text',`data` = '{\&quot;title\&quot;:\&quot;\\u95f5\\u957f\\u987a \\u7f16\\u8f91\\u4e86\\u4efb\\u52a1 [#42::\\u5de1\\u66f4\\u529f\\u80fd\\u70b9\\u4f7f\\u80fd\\u5f00\\u5173\\u63a7\\u5236 ]\&quot;,\&quot;subtitle\&quot;:\&quot;\&quot;,\&quot;url\&quot;:\&quot;xxc:openInApp\\/zentao-integrated\\/http%3A%2F%2F192.168.4.115%3A8088%2Fzentao%2Ftask-view-42.html\&quot;,\&quot;actions\&quot;:[],\&quot;sender\&quot;:{\&quot;id\&quot;:\&quot;zentao\&quot;,\&quot;realname\&quot;:\&quot;\\u7985\\u9053\\u9879\\u76ee\\u7ba1\\u7406\&quot;,\&quot;name\&quot;:\&quot;\\u7985\\u9053\\u9879\\u76ee\\u7ba1\\u7406\&quot;},\&quot;target\&quot;:[7]}'&lt;/p&gt; in D:\xampp\zentao\lib\base\dao\dao.class.php on line 1397, last called by D:\xampp\zentao\lib\base\dao\dao.class.php on line 770 through function sqlError.
 in D:\xampp\zentao\framework\base\router.class.php on line 2231 when visiting task-edit-42

#4
2022-09-26 11:18:44 回复#3
MCS
  • 访问次数: 9
  • 注册日期: 2022-07-20
  • 最后登录: 2022-12-15
  • 我的积分: 93
  • 门派等级: 无门派
提交没有提示,报错日志,提交bug也无法保存
#5
2022-09-26 13:18:03
金凯
  • 访问次数: 698
  • 注册日期: 2021-11-11
  • 最后登录: 2024-04-16
  • 我的积分: 2995
  • 门派等级: 无门派
提示不存在table_im_message表,可以到数据库看下有这个表吗?没有的话到zentao/db/zentao.sql文件里找下这个表的建表sql,创建下这个表。如果还有问题,可以添加下首页同事,邀请到禅道交流群,协助排查下。
#6
2022-09-26 13:44:10
MCS
  • 访问次数: 9
  • 注册日期: 2022-07-20
  • 最后登录: 2022-12-15
  • 我的积分: 93
  • 门派等级: 无门派

好的,谢谢


1/1 1