已解决 PHP Fatal error: Uncaught Error: Call to a member function quote() on null in /opt/zbox/app/ranzhi/lib/base/dao/dao.class.php:2032

linux 系统下载的最新64位安装包


php log:


[26-Mar-2018 16:00:06 Asia/Shanghai] PHP Fatal error:  Uncaught Error: Call to a member function quote() on null in /opt/zbox/app/ranzhi/lib/base/dao/dao.class.php:2032
Stack trace:
#0 /opt/zbox/app/ranzhi/lib/base/dao/dao.class.php(1753): baseSQL->quote('sys')
#1 /opt/zbox/app/ranzhi/lib/base/dao/dao.class.php(960): baseSQL->eq('sys', NULL, NULL)
#2 /opt/zbox/app/ranzhi/app/sys/common/model.php(768): baseDAO->__call('eq', Array)
#3 /opt/zbox/app/ranzhi/app/sys/common/model.php(25): commonModel->setEntry()
#4 /opt/zbox/app/ranzhi/framework/base/router.class.php(1168): commonModel->__construct()
#5 /opt/zbox/app/ranzhi/framework/loader.php(33): baseRouter->loadCommon()
#6 /opt/zbox/app/ranzhi/www/sys/index.php(13): include('/opt/zbox/app/r...')
#7 {main}
  thrown in /opt/zbox/app/ranzhi/lib/base/dao/dao.class.php on line 2032


备注
启动后访问/ranzhi/sys/index.php 这个文件就报上面的错误。
设置备注
答案列表
2018/03/27

1. 检查下数据库服务是否正常启动?

ps -ef | grep mysql 看下zbox的数据库启动了吗。

2. 检查下磁盘空间占用情况;

df -h

2018/03/28
数据库启动正常,磁盘空间足够
2018/03/28
可以联系下官网的商务同事,邀请加入技术交流群,在群里截图下。