I hereby make a separate subject for this topic.
Using V 7.1.1
Edtiting contacts is not working. Any contact that I try to edit and save give this error:
Database failure. Please refer to sugarcrm.log for details.
Here is the logfile:
Databaselog:
Thu Apr 10 10:24:29 2014 [15691][1][FATAL] Error updating table: contacts: Query Failed: UPDATE contacts
SET date_modified=‘2014-04-10 08:24:29’,modified_user_id=‘1’,created_by=‘1’,description=NULL,assigned_user_id=‘1’,salutation=NULL,first_name=‘testkontakt’,last_name=‘test’,title=‘tittelen’,department=NULL,do_not_call=0,phone_home=NULL,phone_mobile=NULL,phone_work=‘61184140’,phone_other=NULL,phone_fax=NULL,primary_address_street=‘Studievegen 16’,primary_address_city=‘Gjøvik’,primary_address_state=NULL,primary_address_postalcode=‘2815’,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=’’,birthdate=NULL,campaign_id=’’,=NULL,joomla_account_id=NULL,portal_account_disabled=0,portal_user_type=‘Single’
WHERE contacts.id = ‘4e61cd9f-bc1f-1fee-19ba-53457648a997’ AND deleted=0: 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 ‘=NULL,joomla_account_id=NULL,portal_account_disabled=0,portal_user_type=‘Single’’ at line 2
Second error:
Thu Apr 10 00:31:46 2014 [31032][45ef7f72-f4d8-e84c-0ee7-533de47e4ccf][FATAL] Error running count query for Contact List: Query Failed: ( SELECT count(*) c FROM fp_events INNER JOIN fp_events_contacts_c ON fp_events.id=fp_events_contacts_c.fp_events_contactsfp_events_ida AND fp_events_contacts_c.fp_events_contactscontacts_idb=‘6d0adc22-5b8f-59a2-a2ae-53456299f137’ AND fp_events_contacts_c.deleted=0
where fp_events.deleted=0 ): MySQL error 1146: Table ‘suitecrmdb.fp_events_contacts_c’ doesn’t exist
Thu Apr 10 10:23:28 2014 [9563][1][FATAL] Error running count query for Contact List: Query Failed: ( SELECT count(*) c FROM fp_events INNER JOIN fp_events_contacts_c ON fp_events.id=fp_events_contacts_c.fp_events_contactsfp_events_ida AND fp_events_contacts_c.fp_events_contactscontacts_idb=‘4e61cd9f-bc1f-1fee-19ba-53457648a997’ AND fp_events_contacts_c.deleted=0
where fp_events.deleted=0 ): MySQL error 1146: Table ‘suitecrmdb.fp_events_contacts_c’ doesn’t exist