Results 1 to 4 of 4

Thread: SubPanel Problem ??

  1. #1
    cklose is offline Junior Member
    Join Date
    Jun 2008
    Posts
    2

    Default SubPanel Problem ??

    Hello everybody,
    I have started working on a SugarCRM 5.0e Professional and after making relationship to Account from my own build module I wasn't be able to view any subpanels in accounts page. I have to admit that Accounts module changed his name to Clients but only on Tabs names. This is the error message that appears in the account view:
    Warning: aSubPanel::require(modules//metadata/subpanels/.php) [asubpanel.require]: failed to open stream: No such file or directory in /var/www/sugarcrm.xxxxx.com/htdocs-secure/include/SubPanel/SubPanelDefinitions.php on line 74

    Fatal error: aSubPanel::require() [function.require]: Failed opening required 'modules//metadata/subpanels/.php' (include_path='/var/www/sugarcrm.xxxxx.com/htdocs-secure/include/..:.:/usr/share/php5:/usr/share/php') in /var/www/sugarcrm.sfsl.com/htdocs-secure/include/SubPanel/SubPanelDefinitions.php on line 74


    If anyone has any Idea what can I do to have the view back again subpanel in accounts module please let me know cause this problem makes me really annoying.

    //
    After making search through files I think that problem only occures to Accounts and Leads.
    Also I was checking permissions on folders and they're default as the other files. Than I was checking /custom/include/language/en_us.lang.php for any remainings of my previous modules but I haven't found anything suspicious.
    Really I have no clue how to make changes or other way to repair this issue.
    Last edited by cklose; 2008-06-24 at 02:53 PM.

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

    Default Re: SubPanel Problem ??

    Usually this is caused by a sub-panel definition that has some error with its definition. The sub-panel definitions for the Accounts module would be stored in one of the following places:

    1. modules/Accounts/metadata/subpaneldefs.php
    2. custom/modules/Accounts/metadata/subpaneldefs.php
    3. custom/modules/Accounts/Ext/Layoutdefs/layoutdefs.ext.php

    We would need to know the contents of these files - and then also verify the corresponding relationship and link definitions for the related modules.

    Is this something you can post?

    Feel free to contact us directly for more specific help with your problem.
    - Sugar Team
    dpa Technology LLC
    e-mail: dpaDeveloper@dpatechnology.com
    web: http://www.dpatechnology.com

  3. #3
    cklose is offline Junior Member
    Join Date
    Jun 2008
    Posts
    2

    Default Re: SubPanel Problem ??

    Here are files:
    1. modules/Accounts/metadata/subpaneldefs.php
    3. custom/modules/Accounts/Ext/Layoutdefs/layoutdefs.ext.php

    Unfortunately there suppose to be missing file:
    2. custom/modules/Accounts/metadata/subpaneldefs.php

    If you will see something suspicious with these files please kindly inform me.
    Thank you.
    Attached Files Attached Files

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

    Default Re: SubPanel Problem ??

    These look correct. It looks like you have three custom modules related to accounts and each has a corresponding sub-panel.

    achce_acc_holder_client_employees
    sqacc_squared_account
    mngrp_manager

    If this is correct, then each of these would need a corresponding link/relationship defined in the Accounts vardefs. The name of link is the same as the name of the sub-panel in each case. You would have to check the following locations to confirm.

    custom/Extension/modules/Accounts/Ext/Vardefs/???.php
    custom/modules/Accounts/Ext/Vardefs/vardefs.ext.php


    Also, check the sugarcrm.log file for any FATAL errors loading relationships.
    - Sugar Team
    dpa Technology LLC
    e-mail: dpaDeveloper@dpatechnology.com
    web: http://www.dpatechnology.com

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Subpanel NOT displaying duplicate entries
    By Durrill in forum Developer Help
    Replies: 2
    Last Post: 2012-03-29, 10:46 AM
  2. Missing subpanel in parent detail view
    By purplewave in forum Developer Help
    Replies: 0
    Last Post: 2008-02-18, 04:46 PM
  3. A contacts subpanel working subpar
    By tweiss in forum Help
    Replies: 0
    Last Post: 2008-02-13, 08:38 PM
  4. Subpanel problem
    By Matthias.Qwerty in forum Developer Help
    Replies: 3
    Last Post: 2007-11-29, 09:39 AM
  5. subPanel problem
    By tarze in forum Developer Help
    Replies: 1
    Last Post: 2005-12-07, 01:55 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
  •