Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Subpanels error:Warning: asubpanel(modules//metadata/subpanels/.php) [function.asubpa

  1. #1
    sawan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    130

    Default Subpanels error.(Email speed problem solved.)

    Hello everyone,

    OS Windows 2000
    SugarCRM CE 5.0.0b

    First of all my email speed problem is solved please see this thread http://www.sugarcrm.com/forums/showt...1#post109172.I had read about this in some thread but i dont remember exactly,but anyways it can be solved this way.Thnaks to everybody who helped and guided me.


    When i click on Create button on any subpanels displayed in any module,it lets opens the coresponding module's create page,lets me enter data.

    But when i click on save button the record is saved but i get blank page with these errors:

    Warning: asubpanel(modules//metadata/subpanels/.php) [function.asubpanel]: failed to open stream: No such file or directory in /home/sugarcrm/public_html/include/SubPanel/SubPanelDefinitions.php on line 82

    Warning: asubpanel(modules//metadata/subpanels/.php) [function.asubpanel]: failed to open stream: No such file or directory in /home/sugarcrm/public_html/include/SubPanel/SubPanelDefinitions.php on line 82

    Warning: asubpanel(modules//metadata/subpanels/.php) [function.asubpanel]: failed to open stream: No such file or directory in /home/sugarcrm/public_html/include/SubPanel/SubPanelDefinitions.php on line 82

    Fatal error: asubpanel() [function.require]: Failed opening required 'modules//metadata/subpanels/.php' (include_path='/home/sugarcrm/public_html/include/..:.:/usr/lib/php:/usr/local/lib/php') in /home/sugarcrm/public_html/include/SubPanel/SubPanelDefinitions.php on line 82


    What should i do?
    Please help.

    Your help would be very much apperciable.
    Last edited by sawan; 2008-04-18 at 06:16 AM.

  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: Subpanels error:Warning: asubpanel(modules//metadata/subpanels/.php) [function.as

    Hi, sawan.

    At the subpaneldefs.php you are calling a field (type link) which does not exist into vardefs.php of the same module.
    The subpanel name you are calling into subpaneldefs.php is the same name of the field of type link, this field is related to a relationship which guides sugar on how to retrieve the data from database.

    Cheers
    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
    sawan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    130

    Default Re: Subpanels error:Warning: asubpanel(modules//metadata/subpanels/.php) [function.as

    Hi Andopes,

    thanks for looking in the problem.

    Sorry but i could not get you.

    This error comes for custom modules i made i.e. subpanels of custom modules.

    We have same project deployed in two servers.
    One is our development server and other is live server.
    Both has the same project and same database(but on different DB servers).

    But the only difference is that two days back 2 new users were added in project on live srever.

    In our development this error comes

    Notice: Undefined index: subpanel in F:\interimhousingsolutions_com\sugarcrm\include\Su bPanel\SubPanelViewer.php on line 63

    Notice: Undefined index: in F:\interimhousingsolutions_com\sugarcrm\include\Su bPanel\SubPanelDefinitions.php on line 374

    Warning: aSubPanel::require(modules//metadata/subpanels/.php) [function.require]: failed to open stream: No such file or directory in F:\interimhousingsolutions_com\sugarcrm\include\Su bPanel\SubPanelDefinitions.php on line 82

    Fatal error: aSubPanel::require() [function.require]: Failed opening required 'modules//metadata/subpanels/.php' (include_path='F:\interimhousingsolutions_com\suga rcrm\include/..;.;C:\php5\pear') in F:\interimhousingsolutions_com\sugarcrm\include\Su bPanel\SubPanelDefinitions.php on line 82

    while in live serverthe error i first posted,comes.

    Ofcourse in both the cases, the data is inserted and new record is created and shown in subpanel when i click back on IE.

    So what should i do?
    Please guide.
    Last edited by sawan; 2008-04-19 at 09:57 AM.

  4. #4
    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: Subpanels error:Warning: asubpanel(modules//metadata/subpanels/.php) [function.as

    Hi, sawan.

    Does it happen for all users or for just few?
    It is possible it is a user preference issue.

    Cheers
    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.

  5. #5
    sawan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    130

    Default Re: Subpanels error:Warning: asubpanel(modules//metadata/subpanels/.php) [function.as

    Hey sorry for late response,actually i was working on asme thing.
    Ok actually i have not tested for all user's but the main user i.e admin which is the first user in both applications has these errors.

    Yes you are right, ihave seen in one thread ,i will try this but,since it happens in this user which was created before these new users and that too in both live project and development project i am confused.

  6. #6
    sawan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    130

    Default Re: Subpanels error:Warning: asubpanel(modules//metadata/subpanels/.php) [function.as

    Ok, i have tested with different user.
    I created one new user and performed same operations and it gave same errors.

    What should i do?
    512-351-4727
    sawan@win2konline.net

  7. #7
    sawan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    130

    Default Re: Subpanels error:Warning: asubpanel(modules//metadata/subpanels/.php) [function.as

    One strange thing happens.
    Either if one successful creation is there(which happens only for built in modules) OR if
    refresh is done on detailview page(of the module in which the subpanel is there) ,
    then every operation is successful without any errors even for custom modules.
    But if i logout and again login,same error comes again.
    512-351-4727
    sawan@win2konline.net

  8. #8
    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: Subpanels error:Warning: asubpanel(modules//metadata/subpanels/.php) [function.as

    Hi, sawan.

    Does it happen in any subpanel under any module or just with a specific combination, like subpanel contacts under Accounts module?

    I have a debugging process for that, but I must know this information.
    If it occurs with any combination then I have no idea, but if occurs with a couple combination so it is pretty easy to fix.

    Let me know it and I´ll wonder help you.

    Cheers
    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.

  9. #9
    sawan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    130

    Default Re: Subpanels error:Warning: asubpanel(modules//metadata/subpanels/.php) [function.as

    Ok i have already checked,but not for all custom modules.
    Will just check and tell you.
    512-351-4727
    sawan@win2konline.net

  10. #10
    sawan is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    130

    Default Re: Subpanels error:Warning: asubpanel(modules//metadata/subpanels/.php) [function.as

    Ok,it happens for any combination , but only for a particular flow:

    It does not occur when a new record of any module is created and then immidiately for this record in detail view create is clicked for any custom module and a record is saved.

    It only happens when a record is created from subpanel of any custom module for an already existing record of another custom module.

    Please guide.
    512-351-4727
    sawan@win2konline.net

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. PHP Warnings after install add-in Module
    By kgeving in forum Help
    Replies: 1
    Last Post: 2006-08-08, 05:54 PM
  2. Errors after upgrade
    By mturany in forum Help
    Replies: 0
    Last Post: 2006-04-24, 04:40 AM
  3. ERROR in 4.01
    By rateck in forum Help
    Replies: 3
    Last Post: 2006-02-02, 10:00 PM
  4. Replies: 7
    Last Post: 2005-05-10, 08:25 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
  •