我在我的MAC OS安装好vtiger发现。PHP变量不能与vtigerCRM的代码
访问index.php
Notice: Undefined variable: mod_strings in /Applications/XAMPP/xamppfiles/htdocs/vtigercrm/modules/CustomView/CustomView.php on line 17
当我收到此错误,以便错误明确表示,有一个变量mod_strings
未被识别。
我去index.php
,我发现这一点:
include_once 'include/Webservices/Relation.php';
include_once 'vtlib/Vtiger/Module.php';
include_once 'includes/main/WebUI.php';
$webUI = new Vtiger_WebUI();
$webUI->process(new Vtiger_Request($_REQUEST, $_REQUEST));
正如你看到的,错误告诉我,该变量是在CustomView.php
。所以,我打开这个文件,我发现了以下:
require_once('data/CRMEntity.php');
require_once('include/utils/utils.php');
require_once 'include/Webservices/Utils.php';
正如你看到的,代码将使用称为CRMEntity
PHP脚本,我打开这个文件,我发现这一点:
global $adb, $mod_strings;
所以看变量IS那里。为什么我得到那个错误?
瓦您安装了PHP的PHP版本吗? –
@RalphMelhem我有XAMPP 5.6.12-0我不知道用哪个版本而来。 –
运行phpinfo();并让我知道它显示哪个版本的PHP,这可能是一个兼容性问题 –