在Tp5中使用mongodb 使用自定义ObjectId时报错:Cannot use object of type MongoDB\\BSON\\ObjectID as array 查询源码发现在topthink/think-mongo/src/Builder.php中发现 它原来的parseData方法这样写的: protected function parseData($data, $options) { if (empty($data)) { return []; } $result =…
make menuconfig出错解决方法 2011-06-11 22:22:49 分类: 系统运维 错误现象: make menuconfig In file included from scripts/kconfig/lxdialog/checklist.c:24: scripts/kconfig/lxdialog/dialog.h:31:20: error: curses.h: 没有那个文件或目录 In file included from scripts/kconfig/lxdialo…
错误提示:(2003, "Can't connect to MySQL server on 'controller' ([Errno -2] Name or service not known)") 问题原因:域名解析(controller)出错 解决办法:vi /etc/hosts 192.168.1.11 controller (注:192.168.1.11用本地ip代替) 错误提示:1045, u"Access denied for user 'keystone'@'c…