Results 1 to 5 of 5

Thread: Unable to delete contacts

  1. #1
    jcb23 is offline Sugar Community Member
    Join Date
    Sep 2007
    Posts
    70

    Default Unable to delete contacts

    Windows XP and Vista
    Sugar 5.0.0b
    Apache 2.2.4
    PHP: 5.2.3-1ubuntu6.3
    MySQL Server: 5.0.45-1ubuntu3.3

    I'm having trouble deleting contacts. When I click select all records and then hit delete i get this error message:
    "Query Failed:SELECT contacts.*,email_addresses.email_address, accounts.name as account_name, users.user_name as assigned_user_name , contacts_cstm.* FROM contacts LEFT JOIN users ON contacts.assigned_user_id=users.id LEFT JOIN accounts_contacts ON contacts.id=accounts_contacts.contact_id LEFT JOIN accounts ON accounts_contacts.account_id=accounts.id LEFT JOIN email_addr_bean_rel on contacts.id = email_addr_bean_rel.bean_id and email_addr_bean_rel.bean_module='Contacts' and email_addr_bean_rel.primary_address=1 LEFT JOIN email_addresses on email_addresses.id = email_addr_bean_rel.email_address_id LEFT JOIN contacts_cstm ON contacts.id = contacts_cstm.id_c where ( where contacts.deleted=0) AND ( accounts.deleted IS NULL OR accounts.deleted=0 ) AND contacts.deleted=0 AND (accounts_contacts.deleted IS NULL OR accounts_contacts.deleted=0) ::MySQL error 1064:"

    When I click select this page and hit delete it just reloads the page of contacts without deleting any of them. I've installed the Enhanced Search module and the latest version of the Power Prospecting module I don't know if either of those caused the problem for some reason. Any suggestions?

  2. #2
    Markku's Avatar
    Markku is offline Sugar Community Member
    Join Date
    Nov 2004
    Location
    Helsinki
    Posts
    910

    Default Re: Unable to delete contacts

    Have you upgraded your system lately? I suggest you to run repair relationships on admin panel and see if it helps.

    There seem to be several threads that concern "error 1064", please search the forum.

  3. #3
    kenshiro is offline Sugar Community Member
    Join Date
    Mar 2007
    Location
    Macerata - ITALY
    Posts
    421

    Default Re: Unable to delete contacts

    Hi,
    it seems to have nothing to do with Enhanced Search, but you can try again after having uninstalled it, just to be sure.

  4. #4
    jcb23 is offline Sugar Community Member
    Join Date
    Sep 2007
    Posts
    70

    Default Re: Unable to delete contacts

    Quote Originally Posted by Markku
    Have you upgraded your system lately? I suggest you to run repair relationships on admin panel and see if it helps.

    There seem to be several threads that concern "error 1064", please search the forum.
    I ran repair relationships and am still having the problem. And I actually did search the forum before posting this message, but none of the threads about error 1064 had to do with the problem I'm having. I believe my system has been upgraded lately as well.

  5. #5
    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: Unable to delete contacts

    Hi, jcb23


    Run this query in phpMyAdmin
    It will display more details about the error.

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Unable to Export Contacts
    By daviddavid in forum Help
    Replies: 1
    Last Post: 2008-02-04, 06:34 PM
  2. Unable to list contacts
    By nathanfunk in forum Help
    Replies: 7
    Last Post: 2007-07-25, 09:17 PM
  3. Unable to Delete Invitee
    By Proware in forum Help
    Replies: 0
    Last Post: 2006-09-25, 02:57 AM
  4. Replies: 0
    Last Post: 2006-06-15, 01:34 PM
  5. HELP : Where to Delete Multiple COntacts
    By stefang in forum Help
    Replies: 2
    Last Post: 2006-06-09, 04:18 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
  •