我正在尝试使用 lighttpd 设置 vTiger CRM,但我遇到了一些问题。我已经配置了一个专门用于 vTiger 的 postgreSQL 数据库。我已经下载了源代码并将其复制到我的 /var/www/vtigercrm
当我尝试访问 localhost/vtigercrm 时,php 会警告我一些错误,例如:
Warning: include(config.inc.php): failed to open stream: No such file or directory in /var/www/html/vtigercrm/config.php on line 21
Warning: include(): Failed opening 'config.inc.php' for inclusion (include_path='.:/usr/share/php') in /var/www/html/vtigercrm/config.php on line 21
Warning: include_once(include/Webservices/Relation.php): failed to open stream: No such file or directory in /var/www/html/vtigercrm/index.php on line 14
警告继续!
最后一个致命的错误摧毁了一切:
Fatal error: require_once(): Failed opening required 'include/logging.php' (include_path='.:/usr/share/php') in /var/www/html/vtigercrm/include/database/PearDatabase.php on line 16
解决了
对于可能遇到相同问题的其他人,最好在安装 vTiger 时将php.ini
文件中的错误显示设置更改为。E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_WARNING & ~E_NOTICE
然后您可以还原更改。这是因为如果您将某些内容发送到浏览器输出,您将无法再操作标头;发送输出由 error_display 完成,而安装向导尝试修改一些 http 标头。