2:42:46 ERROR: 您访问的域名XXX 没有对应的公司。 in module/common/model.php on line 74, last called by module/common/model.php on line 27 through function setCompany.
in framework/base/router.class.php on line 2215 when visiting
09:26:35 Uncaught Error: Call to a member function query() on null in lib/base/dao/dao.class.php:701
Stack trace:
#0 lib/base/dao/dao.class.php(796): baseDAO->query()
#1 module/company/model.php(49): baseDAO->fetch()
#2 module/common/model.php(66): companyModel->getFirst()
#3 module/common/model.php(27): commonModel->setCompany()
#4 framework/base/router.class.php(1168): commonModel->__construct()
#5 www/index.php(36): baseRouter->loadCommon()
#6 {main}
thrown in lib/base/dao/dao.class.php on line 701 when visiting
in framework/base/router.class.php on line 2215 when visiting
/**
* The router file of ZenTaoPMS.
*
* All request should be routed by this router.
*
* @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com)
* @license ZPL (http://zpl.pub/page/zplv12.html)
* @author Chunsheng Wang <chunsheng@cnezsoft.com>
* @package ZenTaoPMS
* @version $Id: index.php 5036 2013-07-06 05:26:44Z wyd621@gmail.com $
* @link http://www.zentao.net
*/
/* Set the error reporting. */
error_reporting(0);
/* Start output buffer. */
ob_start();
Stack trace:
#0 lib/base/dao/dao.class.php(796): baseDAO->query()
#1 module/company/model.php(49): baseDAO->fetch()
#2 module/common/model.php(66): companyModel->getFirst()
#3 module/common/model.php(27): commonModel->setCompany()
#4 framework/base/router.class.php(1168): commonModel->__construct()
#5 www/index.php(36): baseRouter->loadCommon()
#6 {main}
thrown in lib/base/dao/dao.class.php on line 701 when visiting
11.3和9.8.3都是这样