Results 1 to 7 of 7

Thread: cannot view Accounts relationships in Studio

  1. #1
    Checker is offline Junior Member
    Join Date
    Mar 2009
    Posts
    3

    Default cannot view Accounts relationships in Studio

    Hello,

    I had this problem already in CE 5.2.0.a and i just upgraded to CE 5.2.0.c.
    But when i go to the Studio and i want to add a relationship for Accounts, nothing happens.

    When i click Accounts, Relationships, it displays 'loading please wait, done' op top of the page and thats it..
    When i do the same for an other module, it works fine.

    Any help / tips ?

    Thanks..

  2. #2
    Checker is offline Junior Member
    Join Date
    Mar 2009
    Posts
    3

    Default Re: cannot view Accounts relationships in Studio

    I now discovered, that there is still a relationship to Accounts from my custom module.
    When i edit the module in module builder, theres no relationship, but when i go to Studio and i check the listview field for the custom module, it shows a field (relationship to accounts) that is not supposed to be there.

    Also when i deploy the custom module, it only takes 3 seconds, when normally this took maybe 10 seconds

    What are the proper procedures when things have gone wrong when intensly working on building your module? And i know thing can go wrong in Sugar...

    What happens in custom\modules\my_module\Ext\Vardefs\vardefs.ext.p hp ?
    There I see a history in which the account realtionship is still there.

    Im not a Sugar wizzard btw

  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: cannot view Accounts relationships in Studio

    I believe you are facing any file permission trouble.
    Had you installed the SugarCRM in a LAMP stack?

    If yes so figure it out the user and group apache uses to get started, then run this command as root:
    chown -R <the_user>.<the_group> /path/to/sugar

    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.

  4. #4
    Checker is offline Junior Member
    Join Date
    Mar 2009
    Posts
    3

    Default Re: cannot view Accounts relationships in Studio

    Hello Andopes,

    Thanks for the reply, im running Sugar on a WAMP localhost.
    Today i did a clean Sugar install and viewing the releationships for the accounts or any other functions worked perfectly.

    After installing JustCRM time and Invoice module, I think the problems start.
    Now i cannot, again, see the relationships for accounts. all other modules show their relationships fine.
    Also i saw a script error in Internet explorer (7), which i didnt see in Firefox (3)

    It says :

    line : 10
    character : 104597
    Error : Syntax error
    code: 0
    URL: http://localhost/.../index.php?modul...ex&type=studio

    I really need to add some relationships to the accounts

    I hope this information gives you a better picture

    >> just desabled the JCRM module and then i can see the relationships for the accounts module.
    So this module is for sure the initiator
    Last edited by Checker; 2009-03-29 at 09:10 PM. Reason: more info gathered

  5. #5
    galgo is offline Junior Member
    Join Date
    Apr 2008
    Posts
    3

    Default Re: cannot view Accounts relationships in Studio

    Hi, checker, did you ever resolve this? I'm having exactly the same problem. I built a module & deployed it (using 5.2.0c) and lost the ability to view the relationships of the accounts module. I thought it was caused by my module so I deleted it, but still couldn't access the relationships.

    When I came to this forum to look for a solution, I found your post and hint about jrcm. I'm using it too, so I disabled it and I could see the relationships again. Turn it back on and I can't.

  6. #6
    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: cannot view Accounts relationships in Studio

    Quote Originally Posted by Checker View Post
    Hello Andopes,

    Thanks for the reply, im running Sugar on a WAMP localhost.
    Today i did a clean Sugar install and viewing the releationships for the accounts or any other functions worked perfectly.

    After installing JustCRM time and Invoice module, I think the problems start.
    Now i cannot, again, see the relationships for accounts. all other modules show their relationships fine.
    Also i saw a script error in Internet explorer (7), which i didnt see in Firefox (3)

    It says :

    line : 10
    character : 104597
    Error : Syntax error
    code: 0
    URL: http://localhost/.../index.php?modul...ex&type=studio

    I really need to add some relationships to the accounts

    I hope this information gives you a better picture

    >> just desabled the JCRM module and then i can see the relationships for the accounts module.
    So this module is for sure the initiator
    Hi Checker

    That is clear enough!
    Have a look on error log of apache.
    Hopefully you will see some error messages at the tail of such file regarding the issue.
    Studio uses ajax based javascript to render the screen and if some php script behind the ajax warn either notices or error message the Studio screen doesn´t work properly!.
    Then contact the JustCRM developer asking for some fix.
    But alternatively let us know the error message you find out.

    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.

  7. #7
    pnagaraju25 is offline Junior Member
    Join Date
    Apr 2009
    Posts
    4

    Default Re: cannot view Accounts relationships in Studio

    Hi checker

    did u see your sugarcrm.log fie

    whenever you open relationships for accounts in studio you got an error like this

    *********************
    [Sat Jul 25 09:31:42 2009] [error] [client 192.168.0.113] PHP Notice: Undefined index: record in /var/www/html/sugar/modules/JCRMInvoices/metadata/subpanels/default.php on line 51, referer: http://192.168.0.7/sugar/index.php?m...ex&type=studio
    [Sat Jul 25 09:31:42 2009] [error] [client 192.168.0.113] PHP Fatal error: Cannot redeclare class SugarWidgetJCRMCreateInvoiceFromTime in /var/www/html/sugar/modules/JCRMInvoices/metadata/subpanels/default.php on line 30, referer: http://192.168.0.7/sugar/index.php?m...ex&type=studio


    ***********************

    when you open file in jcrminvoices/metadata/subpanels/default.php
    there is two include files and two classes is there.

    remove these and create two files named
    SugarWidgetJCRMCreateInvoice.php
    and
    SugarWidgetJCRMCreateInvoiceFromTime.php

    now copy the
    calss SugarWidgetJCRMCreateInvoice code and paste it in SugarWidgetJCRMCreateInvoice.php

    and

    calss SugarWidgetJCRMCreateInvoiceFromTime code and paste it in SugarWidgetJCRMCreateInvoiceFromTime.php

    code from jcrminvoices/metadata/subpanels/default.php file
    and paste this in include/generic/sugarwidgets

    Now you will see account relationships.

    If is there any mistake in the above solution please let me know.

    Thanks
    Nagaraju

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 1
    Last Post: 2009-02-05, 07:20 PM
  2. relationships problem in studio
    By j.lagos in forum General Discussion
    Replies: 0
    Last Post: 2008-09-19, 11:08 AM
  3. Can't see Relationships view in Studio
    By jpdufau in forum Help
    Replies: 2
    Last Post: 2008-09-08, 12:00 PM
  4. Studio - Manage Relationships
    By Kalendrinn in forum Feature Requests
    Replies: 0
    Last Post: 2007-09-13, 10:00 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
  •