94374
迭代-批量导入(报错)
回帖数 7
阅读数 2015
发表时间 2019-03-04 14:13:34
你好,报错内容如下:
14:12:21 ERROR: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'clientStatus' in 'field list'<p>The sql is: SELECT id, account, realname, avatar, role, dept, clientStatus, gender, email, mobile, phone, qq, deleted FROM `zt_user` wHeRe 1 AND id IN ('10')</p> in /app/zentaopms/lib/base/dao/dao.class.php on line 1394, last called by /app/zentaopms/lib/base/dao/dao.class.php on line 708 through function sqlError.
in /app/zentaopms/framework/base/router.class.php on line 2215 when visiting task-batchCreate-7--0parsererrorSyntaxError: Unexpected token < in JSON at position 0
7个回复
可以访问下数据库,执行下 select * from zt_config where `key` = "version"; 看下结果是什么?
2019-03-04 18:13:35 禅道-李锡碧 回帖
7个回复
MariaDB [(none)]> use zentao
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [zentao]> select * from zt_config where `key` = "version";
+-----+--------+--------+---------+---------+-------+
| id | owner | module | section | key | value |
+-----+--------+--------+---------+---------+-------+
| 341 | system | common | global | version | 11.3 |
+-----+--------+--------+---------+---------+-------+
1 row in set (0.00 sec)
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [zentao]> select * from zt_config where `key` = "version";
+-----+--------+--------+---------+---------+-------+
| id | owner | module | section | key | value |
+-----+--------+--------+---------+---------+-------+
| 341 | system | common | global | version | 11.3 |
+-----+--------+--------+---------+---------+-------+
1 row in set (0.00 sec)
2019-03-05 13:59:39 暗队长 回帖
7个回复
ALTER TABLE `zt_user` CHANGE `status` `clientStatus` enum('online', 'away', 'busy', 'offline') NOT NULL DEFAULT 'offline'; 数据库中执行下这段SQL,然后试试呢? 2019-03-05 14:10:17 禅道-李锡碧 回帖
联系我们
联系人
丁芝/高级客户经理
电话(微信)
17663906485
QQ号码
1481227768
联系邮箱
dingzhi@chandao.com

相关帖子
李军 | 最后回帖 2024-02-23 16:11 禅道-阿龙
好实用 | 最后回帖 2019-08-14 17:54 王林
zhuxw | 最后回帖 2023-05-15 13:05 王林
任敏 | 最后回帖 2019-07-15 13:13 石洋洋
玩滑板的镜子 | 最后回帖 2024-06-28 09:34 马超
dongs | 最后回帖 2018-06-22 09:45 扮猪吃老虎
禅道-Bee


精品资料包
1V1产品演示
免费试用增强功能
专属顾问答疑支持


