我在安装任何模块时收到以下错误:
> Scanning Package
> Installation failed!
> The package you are attempting
> to install does not conform to the policies established within the
> Sugar Open Cloud or by your system administrator.
> Sugar Open Cloud customers must obtain a new package from the package provider that addresses the issues described below.
> If you are running Sugar locally, you can relax your Module Loader restrictions to allow the package to be installed.
>
> The Sugar Open Cloud package loading policies are detailed in the
> SugarCRM Knowledge Base. The available restrictions and exceptions are
> detailed in the SugarCRM Developer Zone.
> File Issues modules/let_Chat/history.php Invalid usage of a function
> ob_start() modules/let_Chat/elements/sounds/button-19.mp3 Invalid file
> extension modules/let_Chat/elements/sounds/Pop.aiff Invalid file
> extension modules/let_Chat/elements/sounds/button-27.mp3 Invalid file
> extension modules/let_Chat/elements/sounds/button-20.mp3 Invalid file
> extension modules/let_Chat/elements/icons/restore_old.png Invalid
> usage of a function '`' modules/let_Chat/show_chat.php Invalid usage
> of a function $msi1() modules/let_Chat/JSON.php Invalid usage of a
> function array_map() Invalid usage of a function array_map() Invalid
> usage of a function array_map()
请帮我解决问题。
答案 0 :(得分:1)
Sugar Open Cloud不允许在要安装的软件包Check This中使用某些功能。
如果您可以更改配置文件,请在packageScan
中将config.php
更改为false。
'moduleInstaller' =>
array (
'packageScan' => true,
),
或
在config.php
或config_override.php
中添加以下数组,方法是在其中添加所有冲突功能。
$sugar_config['moduleInstaller']['blackListExempt'] = array('unlink', 'ob_start', );
并且
$GLOBALS[‘sugar_config’][‘moduleInstaller’][‘disableFileScan’] = true;
如果您无法更改配置文件而不是避免解决冲突的功能和文件的解决方案。