vTiger CRM 6:本地设置适用于/ var / www但不适用于不同的分区。为什么?

问题描述 投票:0回答:2

我有第一个got cloneed vtiger在不同的分区,安装在/data/and检查到6.5.0

从ondrej启动板安装php5.6和必要的插件(不建议安装php7.x我不能)。

apache2/site-enabled/crm.conf创建了一个VHost

<VirtualHost *:80>
    ServerName "vtiger-local.host.com"
    DocumentRoot "/data/CRM/"
<Directory "/data/CRM/">
   Options Indexes FollowSymLinks Includes ExecCGI MultiViews
   AllowOverride None
   Require all granted
</Directory>
</VirtualHost>

编辑/etc/hosts文件

127.0.0.1 vtiger-local.host.com

之后我做了一个chmod -R 777,但它正在投掷

Call to a member function Execute() on null in /data/CRM/vtigercrm/include/database/PearDatabase.php

但是当我在git clone/var/www时,同样精确的配置运行顺利

我错过了什么?

P.S编辑$root_directory以及$site_URL忘了添加原始问题。

php apache vtiger vtigercrm
2个回答
1
投票

从CRM的根目录打开config.inc.php文件。并使用CRM URL和$ root_directory参数更新$ site_URL参数,并使用CRM.enter image description here的根目录路径


0
投票

您是否更改了config.inc.php文件夹中的路径?

© www.soinside.com 2019 - 2024. All rights reserved.