Results 1 to 4 of 4

Thread: Can't delete an account

  1. #1
    mzenns is offline Sugar Community Member
    Join Date
    Aug 2008
    Location
    N. Central PA, USA
    Posts
    39

    Post Can't delete an account

    I installed Sugar CE 5.0.0g on a test box, populated it with the sample data and modified it for our needs, by adding several fields and a subpanel under Accounts. I now need to migrate this to the production server, but want to clear out the sample data. When I try to delete an Account, I get the following error message:

    Query Failed:UPDATE services SET account_id=NULL, date_modified='2008-09-05 13:15:59' WHERE account_id= 'aacb083f-76b7-bfed-312a-48a9ad132064' ::MySQL error 1146:

    Ubuntu Server 8.04
    Apache 2.2
    PHP 5.2.4-2
    MySQL 5.0

  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: Can't delete an account

    Hi mzenns

    Instead of removing the sample data you could create an installer containing all changes.
    Then you can install this installer into an empty installation and reset it when you want.

    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
    mzenns is offline Sugar Community Member
    Join Date
    Aug 2008
    Location
    N. Central PA, USA
    Posts
    39

    Default Re: Can't delete an account

    Great! Could you please point me to instructions for creating an installer? Thanks.

  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: Can't delete an account

    Hi mzenns

    There are good articles in the Sugar Wiki, wrote by kbril (The Sugar Legend) which explain wonderfully how to create an installer.

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

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. how to delete user account
    By bmk in forum General Discussion
    Replies: 13
    Last Post: 2010-03-12, 08:39 PM
  2. Replies: 3
    Last Post: 2008-11-24, 10:13 AM
  3. Account: Assigned to & Delete
    By pdt in forum Help
    Replies: 1
    Last Post: 2007-06-13, 04:45 AM
  4. how to delete an account??
    By henmar in forum General Discussion
    Replies: 1
    Last Post: 2006-03-16, 05:05 AM
  5. Replies: 2
    Last Post: 2005-10-25, 11:18 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
  •