Results 1 to 6 of 6

Thread: Relationship between Contacts Table and Sugar

  1. #1
    lettuce is offline Sugar Community Member
    Join Date
    Mar 2007
    Posts
    11

    Default Relationship between Contacts Table and Sugar

    I'm runnning 4.5.1b and since I upgraded I cannot see any Contacts in the Sugar screen. If I try to add one manually it does get inserted into my mysql db but i cannot see it in Sugar. I get an sql error:

    Query Failed: AND users.id = '4a18cad1-a854-d644-6b86-45b780636c34'::MySQL error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND users.id = '4a18cad1-a854-d644-6b86-45b780636c34'' at line 1

    However my leads module is working fine. I tried rebuklding relationships but it doesnt complete properly giving me the error:
    Warning: main(modules/TFEM_Statsobjs/tfem_statsobj.php): failed to open stream: No such file or directory in /srv/www/htdocs/sugar/modules/Administration/RebuildRelationship.php on line 51

    Fatal error: main(): Failed opening required 'modules/TFEM_Statsobjs/tfem_statsobj.php' (include_path='.:/usr/share/php') in /srv/www/htdocs/sugar/modules/Administration/RebuildRelationship.php on line 51

    is there an obvious relationship setting anywhere that is allowing my leads to be displayed but not my contacts??

    any help would be extremely appreciated

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Relationship between Contacts Table and Sugar

    See if the suggestion in message 4 of this thread works for you: http://www.sugarcrm.com/forums/showthread.php?t=6533
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    ruchida's Avatar
    ruchida is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Feb 2005
    Location
    Japan
    Posts
    1,375

    Default Re: Relationship between Contacts Table and Sugar

    Hi
    Is "TFEM_Statsobjs" a custom module which you installed before? Is that module compatible with 4.5.1b? Did you run Admin->Repair->Repair relationship?
    Ryuhei Uchida
    Help Forum Moderator
    Calendar 2.0
    http://blogs.itmedia.co.jp/ruchida/

  4. #4
    lettuce is offline Sugar Community Member
    Join Date
    Mar 2007
    Posts
    11

    Default Re: Relationship between Contacts Table and Sugar

    Quote Originally Posted by Angel
    See if the suggestion in message 4 of this thread works for you: http://www.sugarcrm.com/forums/showthread.php?t=6533
    Unfortunately not my config.php already states:

    'dbconfig' =>
    array (
    'db_host_name' => 'localhost',
    'db_host_instance' => '',
    'db_user_name' => 'root',
    'db_password' => 'password',
    'db_name' => 'sugar',
    'db_type' => 'mysql',




  5. #5
    lettuce is offline Sugar Community Member
    Join Date
    Mar 2007
    Posts
    11

    Default Re: Relationship between Contacts Table and Sugar

    Quote Originally Posted by ruchida
    Hi
    Is "TFEM_Statsobjs" a custom module which you installed before? Is that module compatible with 4.5.1b? Did you run Admin->Repair->Repair relationship?
    StatGraph may not be compatible with 4.5.1 i tried to install it in 4.5.0 but it failed because of a permissions problem
    and consequently I never used it.
    http://www.sugarforge.org/projects/statsgraph/

    BUT after installing 4.5.1 it is not in my module list so I cant remove it. As stated earlier When I try to run Admin/repair/rebuild relationships it doesnt complete properly giving me the error:
    Warning: main(modules/TFEM_Statsobjs/tfem_statsobj.php): failed to open stream: No such file or directory in /srv/www/htdocs/sugar/modules/Administration/RebuildRelationship.php on line 51

    Fatal error: main(): Failed opening required 'modules/TFEM_Statsobjs/tfem_statsobj.php' (include_path='.:/usr/share/php') in /srv/www/htdocs/sugar/modules/Administration/RebuildRelationship.php on line 51

  6. #6
    lettuce is offline Sugar Community Member
    Join Date
    Mar 2007
    Posts
    11

    Default Re: Relationship between Contacts Table and Sugar

    I've sorted it

    I installed Statgraph before I did the upgrade. It is not compatible with 4.5.1
    My problems however were related to the fact that the StatObj was still listed as a module in this file:

    /srv/www/htdocs/sugar/custom/application/Ext/Include> modules.ext.php

    I simply commented it out and hey presto Sugar now works again and I'm not going to be killed by my sales team anymore.

    woo hoo

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. HELP - Act import (field mapping)
    By smelamed in forum Help
    Replies: 32
    Last Post: 2010-12-15, 05:39 PM
  2. Install fails...insert admin user twice???
    By jweinberger in forum Installation and Upgrade Help
    Replies: 7
    Last Post: 2007-03-14, 04:07 AM
  3. problem step 7 version SugarOS-4.5.0f
    By lucia in forum Help
    Replies: 1
    Last Post: 2006-12-27, 01:21 PM
  4. Replies: 1
    Last Post: 2006-10-12, 12:07 AM
  5. Asterisk Patch 1.1.0 Crash on logon
    By skyracer in forum Help
    Replies: 6
    Last Post: 2006-07-08, 06:30 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
  •