Sugarcrm模块加载程序扫描包错误

时间:2012-10-23 03:52:48

标签: linux module loader sugarcrm

我在安装任何模块时收到以下错误:

    > 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()

请帮我解决问题。

1 个答案:

答案 0 :(得分:1)

Sugar Open Cloud不允许在要安装的软件包Check This中使用某些功能。 如果您可以更改配置文件,请在packageScan中将config.php更改为false。

  'moduleInstaller' => 
   array (
   'packageScan' => true,
   ),

config.phpconfig_override.php中添加以下数组,方法是在其中添加所有冲突功能。

$sugar_config['moduleInstaller']['blackListExempt'] = array('unlink', 'ob_start', );

并且

$GLOBALS[‘sugar_config’][‘moduleInstaller’][‘disableFileScan’] = true;

如果您无法更改配置文件而不是避免解决冲突的功能和文件的解决方案。