Results 1 to 7 of 7

Thread: Problem with 'manifest.php' file

  1. #1
    fbrites is offline Sugar Community Member
    Join Date
    May 2008
    Location
    Lisbon, Portugal
    Posts
    77

    Default Problem with 'manifest.php' file

    Hello, I am a problem in manifest.php file.

    I made a module's download and before I install in SugarCRM. I want to change the file manifest.php but after change I can't installing in SugarCRM: "The zip file is missing a manifest.php file. Can not proceed"

    I think this is because the file manifest.php changed.

    How can I resolve this situation?

    Someone can help me?

    Thank you
    Fábio Brites
    <Sugar 6.>
    <Windows XP>

  2. #2
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Problem with 'manifest.php' file

    This usually only happens when it's missing. Are you sure that a manifest.php exists in the root of the zip file?
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  3. #3
    fbrites is offline Sugar Community Member
    Join Date
    May 2008
    Location
    Lisbon, Portugal
    Posts
    77

    Default Re: Problem with 'manifest.php' file

    Yes I am sure. For example, when I install the module without edit the manifest.php file, it is installed correctly. If I edit the module (for example, deleting a word and re-write the same word) and try to install in SugarCRM already gives error.

    Why does this happen?
    Last edited by fbrites; 2008-08-26 at 08:03 PM.
    Fábio Brites
    <Sugar 6.>
    <Windows XP>

  4. #4
    SugarDev.net is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    1,401

    Default Re: Problem with 'manifest.php' file

    Please post your manifest.php then
    Developers go here
    Businesses go there (Dutch)

    Modules:
    SugarDev.net Developer Tools | Config | Dutch Language Pack
    "Nothing gets fixed unless there is a bug"

  5. #5
    fbrites is offline Sugar Community Member
    Join Date
    May 2008
    Location
    Lisbon, Portugal
    Posts
    77

    Default Re: Problem with 'manifest.php' file

    manifest.php file:

    PHP Code:
    <?php

    $manifest 
    = array(
        
    'acceptable_sugar_versions' => array (
          
    'regex_matches' => array (
           
    => "4.5.1*",
           
    => "5.0.*",
          ),
        ),
        
    'acceptable_sugar_flavors' => array (
           
    => 'OS',
           
    => 'CE',
        ),
        
    'name'                      => 'DIB Horas for SugarCRM',
        
    'description'               => 'Controlar horas',
        
    'author'                    => 'dib',
        
    'published_date'            => '2008-08-26',
        
    'version'                   => '1.0',
        
    'type'                      => 'module',
        
    'icon'                      => '',
        
    'is_uninstallable'          => true,
    );

    $installdefs = array(
     
    'id'       => 'dib_horas',
     
    'copy'     => array(
                    array(
    'from'    => '<basepath>/modules/dib_horas',
                          
    'to'      => 'modules/dib_horas',
                    ),
                    array(
    'from'    => '<basepath>/modules/Productdib_horas',
                          
    'to'      => 'modules/Productdib_horas',
                    )
                   ),

     
     
    'language'=> array(
       array(
    'from'     => '<basepath>/application/app_strings.php'
             
    'to_module'=> 'application',
             
    'language' => 'en_us'
       
    ),
     
    //BUILDER:START of language
       
    array('from'      => '<basepath>/modules/Opportunities/en_us.lang.php',
           
    'to_module' => 'Opportunities',
           
    'language'  => 'en_us'
           
    ),
       array(
    'from'      => '<basepath>/modules/Accounts/en_us.lang.php',
           
    'to_module' => 'Accounts',
           
    'language'  => 'en_us'
           
    ),
       array(
    'from'      => '<basepath>/modules/Contacts/en_us.lang.php',
           
    'to_module' => 'Contacts',
           
    'language'  => 'en_us'
           
    ),
       array(
    'from'      => '<basepath>/modules/Project/en_us.lang.php',
           
    'to_module' => 'Project',
           
    'language'  => 'en_us'
           
    ),
     
    //BUILDER:END of language 
     
    ),
     
     
    'vardefs'=> array(
            array(
    'from'=> '<basepath>/vardefs/opportunities_vardefs.php',
               
    'to_module'=> 'Opportunities'
               
    ),
            array(
    'from'=> '<basepath>/vardefs/accounts_vardefs.php',
               
    'to_module'=> 'Accounts'
               
    ),
            array(
    'from'=> '<basepath>/vardefs/contacts_vardefs.php',
               
    'to_module'=> 'Contacts'
               
    )
     ),
     
     
    'layoutdefs'=> array(
                          array(
    'from'=> '<basepath>/layoutdefs/opportunities_layoutdefs.php',
                                
    'to_module'=> 'Opportunities'
                                
    ),
                          array(
    'from'=> '<basepath>/layoutdefs/accounts_layoutdefs.php',
                                
    'to_module'=> 'Accounts'
                                
    ),
                          array(
    'from'=> '<basepath>/layoutdefs/contacts_layoutdefs.php',
                                
    'to_module'=> 'Contacts'
                                
    )
                          ),

     
    'beans'=> array(
        array(
    'module'=> 'dib_horas',
              
    'class' => 'dib_horas',
              
    'path'  => 'modules/dib_horas/dib_horas.php',
              
    'tab'   => true,
           ),
        array(
    'module'=> 'Productdib_horas',
              
    'class' => 'Productdib_horas',
              
    'path'  => 'modules/Productdib_horas/Productdib_horas.php',
              
    'tab'   => false,
           )
     ),
     
    'relationships'=>array(
     
    //BUILDER:START of relationships
     
    array(
          
    'module'           => 'Project',
          
    'meta_data'        =>'<basepath>/relationships/dib_horas_projectsMetaData.php',
          
    'module_vardefs'   =>'<basepath>/vardefs/project_vardefs.php',
          
    'module_layoutdefs'=>'<basepath>/layoutdefs/project_layoutdefs.php'
         
    ),
     
    //BUILDER:END of relationships 
     
    ),
     
     
    'post_execute'=>array(
            
    => '<basepath>/post_install/install_actions.php',
        ),

    );
    ?>
    Fábio Brites
    <Sugar 6.>
    <Windows XP>

  6. #6
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Problem with 'manifest.php' file

    Hi Fábio.

    Did you zip the folder containing the manifest.php or only the content of the folder?
    The correct is zip only the content of the folder.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  7. #7
    fbrites is offline Sugar Community Member
    Join Date
    May 2008
    Location
    Lisbon, Portugal
    Posts
    77

    Default Re: Problem with 'manifest.php' file

    It's the error! Thanks Andilopes
    Fábio Brites
    <Sugar 6.>
    <Windows XP>

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 2008-04-20, 05:49 PM
  2. Replies: 2
    Last Post: 2007-02-03, 12:05 AM
  3. Replies: 2
    Last Post: 2006-04-18, 02:47 PM
  4. Metadata File
    By rana in forum Developer Help
    Replies: 3
    Last Post: 2006-01-24, 08:26 PM
  5. Convert opportunity to pdf Problem with pictures
    By vsin in forum Developer Help
    Replies: 4
    Last Post: 2005-07-13, 10:48 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •