Results 1 to 6 of 6

Thread: Problem with SubPanelDefinitions.php

  1. #1
    yschmitt is offline Junior Member
    Join Date
    Jun 2011
    Posts
    4

    Default Problem with SubPanelDefinitions.php

    Hello,

    I read this error message :

    Warning: aSubPanel::include_once() [function.include]: Failed opening '' for inclusion (include_path='/home/mobi/public_html/mobi-tourism.com/private/extranet:/home/mobi/public_html/mobi-tourism.com/private/extranet/include/..:.:/usr/share/php:/usr/share/pear') in /home/mobi/public_html/mobi-tourism.com/private/extranet/include/SubPanel/SubPanelDefinitions.php on line 454

    Fatal error: Class name must be a valid object or a string in /home/mobi/public_html/mobi-tourism.com/private/extranet/include/SubPanel/SubPanelDefinitions.php on line 455
    But I fail to find the bug in SubPanelDefinitions.php (see attachment)...

    Can someone please help me ?

    Thanks and sorry for my english.
    Attached Files Attached Files

  2. #2
    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 SubPanelDefinitions.php

    I believe you don't face this issue everywhere.
    Can you specify in which module exactly do you face it?
    As soon as you identify it edit the script custom/modules/<ModuleName>/Ext/Layoutdefs/layoutdefs.ext.php.
    Comment the first subpanel definition, test again, uncoment that first one, comment the second one, test again and so on. This way you will identify which is the buggy subpanel definition.

    Kind regards
    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.

  3. #3
    twn2 is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    36

    Default Re: Problem with SubPanelDefinitions.php

    Thanks for the reply. I'm not sure what module is causing this. The error that I get is when I try to use the Upgrade Wizard to go from Sugar CE 6.1 to 6.1.6. How can I find out the problem module??

    Tom

  4. #4
    twn2 is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    36

    Default Re: Problem with SubPanelDefinitions.php

    I just realized I replied to someone else's post regarding this issue. I thought it was the same post I made earlier yesterday regarding a problem with SubPanelDefinitions.php.

    Tom

  5. #5
    yschmitt is offline Junior Member
    Join Date
    Jun 2011
    Posts
    4

    Default Re: Problem with SubPanelDefinitions.php

    Hello,

    I face this issue in all modules related to the module "documents".
    And when I create a relation between "documents" and one of the modules for which I do not face the issue using Studio, the bug extends itself to this module too.

    How can I debug the relations between "documents" and other modules ?

    Thank you for your help.

  6. #6
    yschmitt is offline Junior Member
    Join Date
    Jun 2011
    Posts
    4

    Default Re: Problem with SubPanelDefinitions.php

    Quote Originally Posted by pierco View Post
    Hello,

    Try to edit the SubPanelDefinitions.php.

    Line 446, change:

    PHP Code:
    if (! empty ( $module_name )) 
    to

    PHP Code:
    if (! empty ( $module_name ) && isset($beanList[$module_name])) 
    then finish the upgrade process.
    It works.

    Thanks Pierco !

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 11
    Last Post: 2011-12-15, 10:39 PM
  2. Erro SubPanelDefinitions.php
    By Oliverpoa in forum Portugese
    Replies: 6
    Last Post: 2010-01-13, 02:50 PM
  3. Problem with SubPanelDefinitions.php
    By mnemos in forum Help
    Replies: 9
    Last Post: 2009-07-08, 07:54 AM
  4. BUG: SubPanelDefinitions.php
    By mminnie in forum Developer Help
    Replies: 9
    Last Post: 2005-10-17, 02:31 PM
  5. Replies: 0
    Last Post: 2005-06-07, 01:42 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
  •