我正在尝试使用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标头。