Blank screen while trying to import custom package

Hi,

We are getting a blank screen on importing a custom package in sugarCRM11.2.0.

The error is 

PHP Fatal error:  require(): Failed opening required '/mnt/sugar/shadowed/domain_name/cache/mlp_temp/NbmKkm/manifest.php' (include_path='/mnt/sugar/11.2.0/ent:/mnt/sugar/11.2.0/ent/vendor:.:/usr/share/pear:/usr/share/php') in /mnt/sugar/11.2.0/ent/ModuleInstall/ModuleScanner.php on line 1026

Can anyone please help us to resolve the issue?

Parents Reply Children
  • Hi Jeroen,

    Due to security concerns, We cannot share the package here.

    As we cannot share the package if you can help us to understand the process of inspection of the package it would help a lot.

    Thank you

  • $manifest = array(
        'acceptable_sugar_versions' => array(
            'regex_matches' => array(
                '11\.[0123456789]*.\d\w*'
                ),
            ),
        'acceptable_sugar_flavors' => array(
            'PRO',
            'CORP',
            'ENT',
            'ULT',
            ),
        'readme' => '',
        'key' => 'key',
        'author' => '',
        'description' => 'description',
        'icon' => '',
        'is_uninstallable' => true,
        'name' => 'name',
        'published_date' => '2020-03-11 17:11:17',
        'type' => 'module',
        'version' => '1.0',
        'remove_tables' => false,
        );
    
    $installdefs = array(
        'id' => 'id',
        'copy' => array(
            array(
    			'from' => '<basepath>/dashlet/',
                'to' => 'custom/modules/Home/clients/base/views/id/',
                ),
    			
    			array(
    				'from' => '<basepath>/endpoint/',
    				'to' => 'custom/clients/base/api/',
    			),
            ),
        'language' => array(
            array(
                'from' => '<basepath>/en_us.lang.php',
                'to_module' => 'application',
                'language' => 'en_us',
                ),
            ),
        );

    Our manifest file looks like this. Removed some of the information.

    Our root folder looks like this

    Please let us know if we are missing something