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
  • Hey everyone,

    We've worked with Harsha and got it working for them, it was, as many of you pointed out, a packaging issue.

    Just to clarify and for reference, "manifest.php" file MUST be in the root of the zip file, see below some examples:

    Bad manifest location:

    unzip -v YOUR_PACKAGE.zip                 
    Archive:  YOUR_PACKAGE.zip
     Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
    --------  ------  ------- ---- ---------- ----- --------  ----
        1144  Defl:N      606  47% 08-07-2020 03:11 dedfb813  SugarCRM-prod/INSTALL.txt
        1577  Defl:N      912  42% 08-07-2020 03:11 207cabfe  SugarCRM-prod/LICENSE.txt
        1173  Defl:N      627  47% 08-07-2020 03:13 b3a6be41  SugarCRM-prod/README.txt
         621  Defl:N      369  41% 08-07-2020 03:13 458062e9  SugarCRM-prod/UNINSTALL.txt
        1291  Defl:N      525  59% 02-02-2022 19:24 2343cb5a  SugarCRM-prod/manifest.php

    Good manifest location:

    unzip -v YOUR_PACKAGE.zip                 
    Archive:  YOUR_PACKAGE.zip
     Length   Method    Size  Cmpr    Date    Time   CRC-32   Name
    --------  ------  ------- ---- ---------- ----- --------  ----
        1144  Defl:N      606  47% 08-07-2020 03:11 dedfb813  INSTALL.txt
        1577  Defl:N      912  42% 08-07-2020 03:11 207cabfe  LICENSE.txt
        1173  Defl:N      627  47% 08-07-2020 03:13 b3a6be41  README.txt
         621  Defl:N      369  41% 08-07-2020 03:13 458062e9  UNINSTALL.txt
        1291  Defl:N      525  59% 02-02-2022 19:24 2343cb5a  manifest.php

    Also, if you're embedding (or making call to your website), you must add it to the CSP so your call/URL goes through.

    Rafa

    SugarCRM | Principal Developer Advocate