Results 1 to 3 of 3

Thread: Module installation error

  1. #1
    signaljim is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    30

    Default Module installation error

    Hi,

    This module installed fine in 4.5 but not in 4.5.1. What's wrong with the manifest?

    <?PHP

    // manifest file for information regarding application of new code
    $manifest = array(
    // only install on the following regex sugar versions (if empty, no check)
    'acceptable_sugar_versions' => array(),

    // name of new code
    'name' => 'Contracts',

    // description of new code
    'description' => 'Test Contracts Module',

    // author of new code
    'author' => 'Jim Smith ',

    // date published
    'published_date' => '2007-02-09',

    // version of code
    'version' => '00.02',

    // whether or not you can uninstall this module
    'is_uninstallable' => TRUE,

    // type of code (valid choices are: full, langpack, module, patch, theme )
    'type' => 'module',

    // icon for displaying in UI (path to graphic contained within zip package)
    'icon' => '',
    );



    $installdefs = array(
    'id'=> 'test_contracts',

    'copy' => array(
    array(
    'from'=> '<basepath>/test_contracts',
    'to'=> 'modules/test_contracts',
    ),
    ),

    'language'=> array(
    array(
    'from'=> '<basepath>/application/app_strings.en_us.lang.php',
    'to_module'=> 'application',
    'language'=>'en_us'),
    ),

    'beans' => array(
    array(
    'module'=> 'test_contracts',
    'class'=> 'mtContract',
    'path'=> 'modules/test_contracts',
    'tab'=> true,
    ),
    ),
    );
    ?>

  2. #2
    signaljim is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    30

    Default Re: Module installation error

    I forgot to mention, it fails at 87% and the install log is empty...

  3. #3
    signaljim is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    30

    Default Re: Module installation error

    The problem was that I forgot .php in the path for the bean. In the 4.5.0 file it was just '' which worked fine. When I tried installing this file in a 4.5.0 system it gave me an error which the 4.5.1 system did not.

    Sorry for the stupid question :-)

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Module Builder
    By Olavo in forum Downloads
    Replies: 418
    Last Post: 2009-02-26, 06:36 AM
  2. ZuckerDocs module installation error
    By gesuina in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2006-12-18, 09:55 AM
  3. Replies: 1
    Last Post: 2006-09-11, 03:38 PM
  4. Module builder help
    By sjilumudi in forum Downloads
    Replies: 3
    Last Post: 2006-08-18, 11:25 PM

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
  •