Results 1 to 6 of 6

Thread: No Data returned in Contacts after import

  1. #1
    greenteam is offline Sugar Community Member
    Join Date
    Aug 2011
    Posts
    10

    Default No Data returned in Contacts after import

    Hello,
    I recently did a contacts import and now whenever I go to view the contacts via the "Contacts" Module at the top no data is returned no matter what I do. I did some searches and found out that I needed to output the query and then try that query in phpMyAdmin. I tried that, no errors were returned, but now rows were returned either. The contacts exist because I can view them directly from the activity stream and they appear in the database. I have tried repairing from the admin panel but with no luck.

    Also, it appears that users can view all the contacts ONE time. Once ONE search is done, the contacts cannot be viewed on that account. Even on separate computers, that account can never view any contacts on the ViewList.

    What is going on here and how can we fix it?
    Ben

  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: No Data returned in Contacts after import

    Can you kindly let us know which customization did you apply and which packages did you install?
    Which SugarCRM version?
    Follow my tips here.

    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
    greenteam is offline Sugar Community Member
    Join Date
    Aug 2011
    Posts
    10

    Default Re: No Data returned in Contacts after import

    Hello andopes,
    I have followed those tips as I found a similar thread with your exact suggestion! After running my sql statement through phpMyAdmin, it returned an empty set and no errors.

    This was the query:
    SELECT contacts.id ,contacts_cstm.clientpriority_c, TRIM(CONCAT(IFNULL(contacts.first_name,''),' ',IFNULL(contacts.last_name,''))) as name, contacts.first_name , contacts.last_name , contacts.salutation , accounts.name account_name, jtl0.account_id account_id, contacts.phone_mobile , contacts.phone_work , TRIM(CONCAT(IFNULL(jt1.first_name,''),' ',IFNULL(jt1.last_name,''))) assigned_user_name , jt1.created_by assigned_user_name_owner , 'Users' assigned_user_name_mod, contacts.phone_fax , contacts.assigned_user_id FROM contacts LEFT JOIN contacts_cstm ON contacts.id = contacts_cstm.id_c LEFT JOIN accounts_contacts jtl0 ON contacts.id=jtl0.contact_id AND jtl0.deleted=0 LEFT JOIN accounts accounts ON accounts.id=jtl0.account_id AND accounts.deleted=0 AND accounts.deleted=0 LEFT JOIN users jt1 ON jt1.id= contacts.assigned_user_id AND jt1.deleted=0 AND jt1.deleted=0 where ((contacts.id IN (SELECT eabr.bean_id FROM email_addr_bean_rel eabr JOIN email_addresses ea ON (ea.id = eabr.email_address_id) WHERE eabr.deleted=0 AND ea.email_address LIKE 'CURRENT USERS EMAIL%'))) AND contacts.deleted=0 ORDER BY name ASC

    CURRENT USERS EMAIL is the current logged in user's email that I have redacted.

    We are using CE 6.2.0 and the only customizations we have made were custom fields in the contact module. We have also enabled/disabled select modules.

    Thanks,
    Ben

  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: No Data returned in Contacts after import

    What happen if you run this query in database, like phpMyAdmin? Does that return an error?

    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.

  5. #5
    greenteam is offline Sugar Community Member
    Join Date
    Aug 2011
    Posts
    10

    Default Re: No Data returned in Contacts after import

    I have said two times already:
    After running my sql statement through phpMyAdmin, it returned an empty set and no errors.

    Thanks,
    Ben

  6. #6
    greenteam is offline Sugar Community Member
    Join Date
    Aug 2011
    Posts
    10

    Default Re: No Data returned in Contacts after import

    Hello? This problem is still greatly affecting our business and is a top priority.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Geocoding project - populate returned data
    By blackened in forum Developer Help
    Replies: 5
    Last Post: 2012-01-23, 06:53 AM
  2. Replies: 9
    Last Post: 2011-02-09, 09:51 AM
  3. Replies: 2
    Last Post: 2006-04-19, 06:22 PM
  4. Replies: 1
    Last Post: 2005-06-30, 07:02 AM
  5. Replies: 0
    Last Post: 2005-06-29, 10:43 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
  •