搜索文档正文出错

yujie 2017-05-10 09:22:58

搜索标题可以,但是想搜索正文会报错


Fatal error: Call to a member function fetchAll() on a non-object in D:\xampp\zdoo\lib\base\dao\dao.class.php on line 797


另外问一下:

上传的DOC文档,支持搜索文档的内容吗?


回帖列表
BeeRanzhi 2017-05-10 10:01:51
您好,这个问题确实是个Bug,我们记录、解决下。谢谢您的反馈。
yujie 2017-05-10 09:39:05
我看了一下你们先上的专业版的演示,搜索也有问题
yujie 2017-05-10 09:31:38
oa_doccontent表有,但是SQL语句明显有问题啊
yujie 2017-05-10 09:29:10
oa_doc 确实没有 content字段
yujie 2017-05-10 09:27:31
09:26:45 ERROR: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'content' in 'where clause'

The
sql is: SELECT * FROM `oa_doc` wHeRe deleted = '0' AND (( 1 AND
`content` LIKE '%三星%' ) AND ( 1 AND `keywords` LIKE '%1%' )) oRdEr
bY `id` desc


in D:\xampp\zdoo\lib\base\dao\dao.class.php on line
1304, last called by D:\xampp\zdoo\lib\base\dao\dao.class.php on line
706 through function sqlError.

in D:\xampp\zdoo\framework\base\router.class.php on line 2109 when visiting /zdoo/doc/index.php?m=doc&f=browse&libID=1&moduleID=0&projectID=0&browseType=bySearch
1/ 1
鲁ICP备18054969号
ZSITE8.6