douze2890241475 2015-12-01 11:37
浏览 52

vtiger在C:\ xampp \ htdocs \ vtigercrm \ include \ database \ PearDatabase中调用成员函数Exec​​ute()on null

I am installing vtiger,

when i open the index page,

i got this error:

Fatal error: Call to a member function Execute() on null in C:\xampp\htdocs\vtigercrm\include\database\PearDatabase.php on line 357

i opened the PearDatabase.php file, and I found this:

if($this->avoidPreparedSql || empty($params)) {
            $sql = $this->convert2Sql($sql, $params);
            $result = $this->database->Execute($sql);
        } else {
            $result = $this->database->Execute($sql, $params);
        }

the line 357 is:

$result = $this->database->Execute($sql);
  • 写回答

3条回答 默认 最新

  • dougan1465 2015-12-05 14:27
    关注

    Make sure you have installed all the pre-requisites:

    Pre-requisites from here:

    • Apache 2.1+
    • MySQL 5.1+ (default storage engine = InnoDB)
    • PHP 5.2+, 5.3
      • php-imap
      • php-curl
      • php-xml
      • max_memory (min. 256MB)
      • max_execution_time (min. 60 seconds)
      • error_reporting (E_ALL & ~E_NOTICE & ~E_DEPRECATED)
    • Hardware: 4 GB RAM, 250 GB Disk (for file attachments)

    The error is suggesting that it can't work out what to do with the back end database.

    评论

报告相同问题?

悬赏问题

  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画
  • ¥15 买了个传感器,根据商家发的代码和步骤使用但是代码报错了不会改,有没有人可以看看
  • ¥15 关于#Java#的问题,如何解决?