测试
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
in C:\xampp\zentao\framework\base\router.class.php on line 1916 when visiting doc-showFiles-product-
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开头的今天的文件有什么报错。
回复
|
联系我们
联系人
丁芝/高级客户经理
电话(微信)
17663906485
QQ号码
1481227768
联系邮箱
dingzhi@chandao.com