Results 1 to 4 of 4

Thread: Subpannel Errors

  1. #1
    molson150 is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    22

    Default Subpannel Errors

    When I go into accounts detail I get this message at the bottom of the page.

    Warning: aSubPanel::require(modules/Threads/metadata/subpanels/default.php) [function.aSubPanel-require]: failed to open stream: No such file or directory in C:\xampp\htdocs\sugarcrmTEST\include\SubPanel\SubP anelDefinitions.php on line 82

    Fatal error: aSubPanel::require() [function.require]: Failed opening required 'modules/Threads/metadata/subpanels/default.php' (include_path='C:\xampp\htdocs\sugarcrmTEST\includ e/..;.;C:\xampp\php\pear\') in C:\xampp\htdocs\sugarcrmTEST\include\SubPanel\SubP anelDefinitions.php on line 82

    If I go to custom\modules\Accounts\Ext\Layoutdefs and edit layoutdefs.ext.php (which I know is dynamically created) and comment out:

    PHP Code:
    $layout_defs['Accounts']['subpanel_setup']['threads'] =  array(            
                       
    'order' => 83,
                       
    'module' => 'Threads',
                       
    'sort_order' => 'asc',
                       
    'sort_by' => 'date_modified',
                       
    'get_subpanel_data' => 'threads',
                       
    'add_subpanel_data' => 'thread_id',
                       
    'subpanel_name' => 'default',
                       
    'title_key' => 'LBL_THREADS_SUBPANEL_TITLE',
                       
    'top_buttons' => array(
                            array(
    'widget_class' => 'SubPanelTopCreateButton'),
                            array(
    'widget_class' => 'SubPanelTopSelectButton'),
                        ),         
                        ); 
    It solves the problem until I do a quick repair and rebuild then it removes the comments. I am trying to get this to be more permanent.

    XAMPP 1.6.5
    SugarCRM 5.0b

    Thanks,
    Jeremy

  2. #2
    dpatech is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    NC
    Posts
    287

    Default Re: Subpannel Errors

    I think you need to make this change in custom/Extension/modules/Accounts/Ext/Layoutdefs.
    - Sugar Team
    dpa Technology LLC
    e-mail: dpaDeveloper@dpatechnology.com
    web: http://www.dpatechnology.com

  3. #3
    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: Subpannel Errors

    I follow dpatech.

    You must have in mind apply always upgrade safe customization (custom directory).

    Cheers.

    André Lopes
    Lâmpada Global Services
    Rua Bela Cintra, 299 conjunto. 51
    São Paulo, SP 01415-000
    tel1. 55 11 3237-3110
    cel. 55 11 7636-5859
    e-mail: info@lampadacrm.com.br

  4. #4
    molson150 is offline Sugar Community Member
    Join Date
    Jul 2007
    Posts
    22

    Default Re: Subpannel Errors

    Thanks a bunch that fixed my problem.

    Jeremy

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Sugar 5.0.0 / Sugar Forums 5.0.0 Extension Query Errors
    By benk in forum Installation and Upgrade Help
    Replies: 4
    Last Post: 2008-05-13, 03:44 PM
  2. Errors errors and more errors!
    By jbwebsites in forum Installation and Upgrade Help
    Replies: 17
    Last Post: 2008-04-08, 11:04 PM
  3. Module builder errors
    By gregorvek in forum Help
    Replies: 2
    Last Post: 2007-10-24, 07:38 AM
  4. Replies: 22
    Last Post: 2006-04-16, 12:01 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
  •