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
  • Can you upload the file here? so we can inspect the package?

  • $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

Reply
  • $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

Children
No Data