Results 1 to 2 of 2

Thread: Cannot Edit/Save in Contacts or Accounts

  1. #1
    tonto is offline Member
    Join Date
    Oct 2005
    Posts
    8

    Default Cannot Edit/Save in Contacts or Accounts

    Running Version 6.2.3 (Build 6658) CE

    When try to save a change in contacts or accounts get message:
    "Database failure. Please refer to sugarcrm.log for details."

    Sugarcrm.log shows:
    Query Failed: Update contacts set date_modified='2011-09-26 23:06:52',.........': MySQL error 1449: There is no 'root'@'' registered

    Not sure why it is trying user root, that is not in config.php and have no issues saving changes to opportunities, tasks, etc.

    Have done Repair and Rebuild with no success.

    Help greatly appreciated.

    Gregory

  2. #2
    tonto is offline Member
    Join Date
    Oct 2005
    Posts
    8

    Default Re: Cannot Edit/Save in Contacts or Accounts

    Upgraded to version 6.2.4. Still not working. Changed log setting to debug and below extract. Queries are OK to select info, but update is a problem though connection is set as persistent so no new db_connect should happen


    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][INFO] Query:SELECT id, first_name, last_name, title FROM contacts where deleted = 0 AND first_name LIKE 'Luis%' AND last_name = 'Guzmán' AND id != '91f9e0ba-d877-22ea-3a92-41d008a1d023'
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][INFO] Query Execution Time:0.00014901161193848
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][DEPRECATED] Formatting correction: Contacts->date_entered had formatting automatically corrected. This will be removed in the future, please upgrade your external code
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][DEPRECATED] Formatting correction: Contacts->date_modified had formatting automatically corrected. This will be removed in the future, please upgrade your external code
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][INFO] Query:SELECT date_modified FROM contacts WHERE id='91f9e0ba-d877-22ea-3a92-41d008a1d023' AND modified_user_id != '9b7d4df8-20fa-162f-df37-41c87b5b0569' AND (modified_user_id != '9b7d4df8-20fa-162f-df37-41c87b5b0569' OR date_modified > DATE_FORMAT('2006-08-21 21:42:48', '%Y-%m-%d %H:%i:%s'))
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][INFO] Query Execution Time:0.00016403198242188
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][DEBUG] Hook called: Contacts::before_save
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][DEBUG] Including module specific hook file for Contacts
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][DEBUG] Including generic hook file
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][DEPRECATED] SugarBean.php: preprocess_fields_on_save() is deprecated
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][INFO] Update Contact: Update contacts set date_modified='2011-10-31 00:58:53', modified_user_id='9b7d4df8-20fa-162f-df37-41c87b5b0569', created_by=null, description='old email: guzman42@prtc.net', deleted='0', assigned_user_id='9b7d4df8-20fa-162f-df37-41c87b5b0569', salutation=null, first_name='Luis', last_name='Guzmán', title=null, department=null, do_not_call='0', phone_home=null, phone_mobile='787 922-4041', phone_work='787-859-6590 ext 237', phone_other=null, phone_fax=null, primary_address_street=null, primary_address_city=null, primary_address_state=null, primary_address_postalcode=null, primary_address_country=null, alt_address_street=null, alt_address_city=null, alt_address_state=null, alt_address_postalcode=null, alt_address_country=null, assistant=null, assistant_phone=null, lead_source=null, reports_to_id=null, birthdate=null, campaign_id=null WHERE ID = '91f9e0ba-d877-22ea-3a92-41d008a1d023'
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][INFO] Save: Update contacts set date_modified='2011-10-31 00:58:53', modified_user_id='9b7d4df8-20fa-162f-df37-41c87b5b0569', created_by=null, description='old email: guzman42@prtc.net', deleted='0', assigned_user_id='9b7d4df8-20fa-162f-df37-41c87b5b0569', salutation=null, first_name='Luis', last_name='Guzmán', title=null, department=null, do_not_call='0', phone_home=null, phone_mobile='787 922-4041', phone_work='787-859-6590 ext 237', phone_other=null, phone_fax=null, primary_address_street=null, primary_address_city=null, primary_address_state=null, primary_address_postalcode=null, primary_address_country=null, alt_address_street=null, alt_address_city=null, alt_address_state=null, alt_address_postalcode=null, alt_address_country=null, assistant=null, assistant_phone=null, lead_source=null, reports_to_id=null, birthdate=null, campaign_id=null WHERE ID = '91f9e0ba-d877-22ea-3a92-41d008a1d023'
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][INFO] Query:Update contacts set date_modified='2011-10-31 00:58:53', modified_user_id='9b7d4df8-20fa-162f-df37-41c87b5b0569', created_by=null, description='old email: guzman42@prtc.net', deleted='0', assigned_user_id='9b7d4df8-20fa-162f-df37-41c87b5b0569', salutation=null, first_name='Luis', last_name='Guzmán', title=null, department=null, do_not_call='0', phone_home=null, phone_mobile='787 922-4041', phone_work='787-859-6590 ext 237', phone_other=null, phone_fax=null, primary_address_street=null, primary_address_city=null, primary_address_state=null, primary_address_postalcode=null, primary_address_country=null, alt_address_street=null, alt_address_city=null, alt_address_state=null, alt_address_postalcode=null, alt_address_country=null, assistant=null, assistant_phone=null, lead_source=null, reports_to_id=null, birthdate=null, campaign_id=null WHERE ID = '91f9e0ba-d877-22ea-3a92-41d008a1d023'
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][INFO] Query Execution Time:0.00060200691223145
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][FATAL] Query Failed: Update contacts set date_modified='2011-10-31 00:58:53', modified_user_id='9b7d4df8-20fa-162f-df37-41c87b5b0569', created_by=null, description='old email: guzman42@prtc.net', deleted='0', assigned_user_id='9b7d4df8-20fa-162f-df37-41c87b5b0569', salutation=null, first_name='Luis', last_name='Guzmán', title=null, department=null, do_not_call='0', phone_home=null, phone_mobile='787 922-4041', phone_work='787-859-6590 ext 237', phone_other=null, phone_fax=null, primary_address_street=null, primary_address_city=null, primary_address_state=null, primary_address_postalcode=null, primary_address_country=null, alt_address_street=null, alt_address_city=null, alt_address_state=null, alt_address_postalcode=null, alt_address_country=null, assistant=null, assistant_phone=null, lead_source=null, reports_to_id=null, birthdate=null, campaign_id=null WHERE ID = '91f9e0ba-d877-22ea-3a92-41d008a1d023': MySQL error 1449: There is no 'root'@'' registered
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][DEBUG] Hook called: ::server_round_trip
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][DEBUG] Including generic hook file
    Sun Oct 30 20:58:53 2011 [23121][9b7d4df8-20fa-162f-df37-41c87b5b0569][DEBUG] Calling DBManager::disconnect()

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Edit Contacts: Related Accounts in drop down menu
    By arghs in forum Developer Help
    Replies: 1
    Last Post: 2010-10-11, 02:04 PM
  2. Replies: 0
    Last Post: 2009-07-16, 10:49 PM
  3. Replies: 7
    Last Post: 2009-04-08, 05:14 PM
  4. Replies: 0
    Last Post: 2007-01-09, 04:08 PM
  5. linking Accounts to Users from Accounts Edit Module
    By ghight in forum Developer Help
    Replies: 0
    Last Post: 2006-03-24, 10:15 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
  •