产品
1324
某账号登陆首叶空白已解决 悬赏10积分
提问者何宇聪
答案数1
阅读数2096
发表时间2012-09-12 21:04:54
ERROR: SQLSTATE[HY000]: General error: 2014 Cannot execute queries while
other unbuffered queries are active. Consider using
PDOStatement::fetchAll(). Alternatively, if your code is only ever
going to run against mysql, you may enable query buffering by setting
the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.
The sql is: SELECT name FROM zt_task wHeRe `id` = '36' AND zt_task.company = '1'
in /data0/htdocs/zentaopms/lib/dao/dao.class.php on line 484, last called by /data0/htdocs/zentaopms/lib/dao/dao.class.php on 572 through function query.禅道版本:3.3
安装包类型:
操作系统:CentOS
客户端浏览器:Firefox
答案列表
🍟 打开config/config.php,里面有两个参数:
//$config->db->emulatePrepare = true; // PDO::ATTR_EMULATE_PREPARES
试着打开。看看能不能解决。
回复
|
联系我们
联系人
杨苗/高级客户经理
电话(微信)
13165050229
QQ号码
2692096539
联系邮箱
yangmiao@chandao.com