安装后Vtiger 6.5错误

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

我刚刚在Windows xampp服务器上安装了Vtiger 6.5,安装进行得很顺利但是一旦我启动浏览器(localhost / vtigercrm),我就会收到此错误。

致命错误:无法在第160行的C:\ xampp \ htdocs \ _ vtigercrm \ libraries \ adodb \ adodb-xmlschema.inc.php中取消设置$ this

有谁知道我做错了什么?我已经下载并尝试了几次,我也根据手册更改了php.ini文件,但似乎没有效果。

crm vtiger
4个回答
1
投票

PHP 7版本中可能会发生此错误。所以提出的解决方案如下。请在第160行的文件vtigercrm \ libraries \ adodb \ adodb-xmlschema.inc.php中使用此功能更新该功能

function Destroy() {
    ini_set("magic_quotes_runtime", $this->mgq ); //Add this line
    unset( $this );
}

0
投票

根据我的经验,将PHP版本更改为5.6(或5.5或5.4)将解决您的问题。虽然Vtiger 6.5应该与php 7兼容,但实际上并非如此。


0
投票

当我们尝试在PHP 7中安装vTiger6.5时,似乎会出现此问题。对于我来说,在对行号160和2214进行注释后,vTiger6.5已成功安装。

在文件vtigercrm \ libraries \ adodb \ adodb-xmlschema.inc.php中注释行号160和2214。

未设置($ this); / *评论此行号:160和2214 * /


0
投票

在PHP 7安装上安装vtiger 6.5时会发生此错误。评论未设置($ this);在函数Destroy()中

第160行功能destroy(){// unset($ this); }

第2216行功能destroy(){ini_set(“magic_quotes_runtime”,$ this-> mgq); #set_magic_quotes_runtime($ this-> mgq); // unset($ this); }

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