测试
4263

《产品》-->文档--->附件库打开异常已解决 悬赏10积分

提问者一路向前 答案数1 阅读数1782 发表时间2016-12-13 19:19:09
19:18:50 ERROR: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') OR (objectType = 'doc' and objectID in (SELECT id FROM `zt_doc` WHERE product' at line 1

The sql is: SELECT * FROM `zt_file` AS t1 wHeRe (objectType = 'product' and objectID = ) OR (objectType = 'doc' and objectID in (SELECT id FROM `zt_doc` WHERE product = '')) OR (objectType = 'story' and objectID in (SELECT id FROM `zt_story` WHERE product = '' AND deleted = '0')) OR (objectType = 'bug' and objectID in (SELECT id FROM `zt_bug` WHERE product = '' AND deleted = '0')) OR (objectType = 'release' and objectID in (SELECT id FROM `zt_release` WHERE product = '' AND deleted = '0')) OR (objectType = 'productplan' and objectID in (SELECT id FROM `zt_productplan` WHERE product = '' AND deleted = '0')) AND size > '0'

in C:\xampp\zentao\lib\base\dao\dao.class.php on line 1318, last called by C:\xampp\zentao\lib\base\dao\dao.class.php on line 386 through function sqlError.
in C:\xampp\zentao\framework\base\router.class.php on line 1916 when visiting doc-showFiles-product-

禅道版本:8.4.1

安装包类型:源码包

操作系统:

客户端浏览器:

设置备注
内容
答案列表
2016-12-14 14:04:15
能描述一下如何操作出现的吗?另zentao/config/my.php 中debug的值改成true  重新操作一下 看日志文件 zentao/tmp/log/php开头的今天的文件有什么报错。
🌮
2016/12/14
就是登陆禅道后,点击产品,点击附件库就出现上面的
2016/12/14
到 demo.zentao.net 上操作一下看能重现吗?
联系我们
联系人
丁芝/高级客户经理
电话(微信)
17663906485
QQ号码
1481227768
联系邮箱
dingzhi@chandao.com
返回顶部
丁芝
高级客户经理
17663906485
1481227768
统一服务热线 4006-8899-23
我要提问提问有任何问题,您都可以在这里提问。 问题反馈反馈点击这里,让我们聆听您的建议与反馈。