Results 1 to 3 of 3

Thread: adding dependacies to manifest

  1. #1
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default adding dependacies to manifest

    I'm trying to add dependencies to a package manifest

    I tried the following :

    $manifest = array (
    'acceptable_sugar_versions' => array (
    'regex_matches' => array (
    '6\.3\.*',
    ),
    ),
    'acceptable_sugar_flavors' =>
    array(
    'CE', 'PRO','ENT'
    ),

    'readme'=>'',
    'key'=>'zz',
    'author' => 'MJS',
    'description' => 'Quotes & Templates',
    'icon' => '',
    'is_uninstallable' => true,
    'name' => 'quotesandtpl',
    'published_date' => '2012-02-03 09:55',
    'type' => 'module',
    'version' => '1.2',
    'remove_tables' => 'prompt',


    'dependencies' => array(
    array(
    'id_name' => 'zz_pbk',
    'version' => '1.2',

    ),
    ),

    );

    if I load this I get the following error ZIP Error(11): 0

    If I remove :

    'dependencies' => array(
    array(
    'id_name' => 'zz_pbk',
    'version' => '1.2',

    ),
    ),

    Then it works

    Any idea what I'm doing wrong?
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: adding dependacies to manifest

    Is th package with 'zz_pbk' still in the cache/uploads/.. directory? Are there errors in the php/apache error log (looking for missing files errors)?
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  3. #3
    mikesolomon is offline Sugar Community Member
    Join Date
    Feb 2008
    Location
    UK
    Posts
    1,467

    Default Re: adding dependacies to manifest

    Quote Originally Posted by kbrill View Post
    Is th package with 'zz_pbk' still in the cache/uploads/.. directory? Are there errors in the php/apache error log (looking for missing files errors)?
    Yup it is still in the directory

    I couldn't see any php/apache errors but when I get a moment I will clear the logs and test again
    Mike Solomon
    Development Manager
    Ivy Ltd
    www.ivy.ltd.uk]www.ivy.ltd.uk

    php version 5.2.6
    MySql 5.1.59

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Manifest help
    By lewrowe in forum Help
    Replies: 3
    Last Post: 2011-06-26, 04:29 PM
  2. Help with manifest.php
    By oribium in forum Developer Help
    Replies: 4
    Last Post: 2010-09-28, 07:46 AM
  3. Adding fields to view via the manifest
    By josh.sweeney in forum Developer Help
    Replies: 10
    Last Post: 2009-02-27, 03:28 AM
  4. what is a manifest.php
    By dauti in forum Developer Help
    Replies: 2
    Last Post: 2008-01-21, 01:02 PM
  5. Adding Custom fields to module Users through manifest
    By Faical in forum Developer Help
    Replies: 0
    Last Post: 2007-02-21, 01:23 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
  •