In my twenty plus years of teaching, I would place Tina in the top 1%. She is truly an outstanding individual. When she undertakes a project, she shows a passion and drive that guarantees success for the venture.
How to: Solve Drupal/CiviCRM Error Messages
A collection of common Drupal and/or CiviCRM error messages and their solutions.
| Drupal Error Message | Solution |
|---|---|
| user warning: Duplicate entry '0' for key 1 query: INSERT INTO location ... | In sequence table, increment location_lid (or the corresponding counter) to value greater than any other location_lid used in the system. |
| Cron failed - Attempting to re-run cron while it is already running |
|
| CiviCRM Error Message | Solution |
|---|---|
| user warning: Duplicate entry '0' for key 1 query: INSERT INTO location ... |
|
| error: Fatal error: Maximum execution time of 30 seconds exceeded in \includes\file.inc |
|
| The user account used by your web-server needs to be granted write access to the following directory in order to configure the CiviCRM settings file (during CiviCRM installation) |
|
| Fatal error: Class 'CRM_Import_Field' not found in /civicrm/CRM/Import/Parser.php on line 732 (during CiviCRM contact import) |
|
| HP Fatal error: Uncaught exception 'Exception' with message 'Please make sure the IDS/tmp folder is writable' in /civicrm/packages/IDS/Monitor.php |
|
| user warning: BLOB/TEXT column 'status_codes' can't have a default value query: CREATE TABLE civicrm_member_roles_rules ( `rule_id` INT unsigned NOT NULL auto_increment, `rid` INT unsigned NOT NULL, `type_id` INT unsigned NOT NULL, `status_codes` TEXT NOT NULL DEFAULT '', PRIMARY KEY (rule_id) ) in \includes\database.inc |
|
| user warning: Incorrect integer value: '' for column 'rule_id' at row 1 query: INSERT INTO civicrm_member_roles_rules (rule_id, rid, type_id, status_codes) VALUES('', 3, 1, '...'') in /civicrm_member_roles.module |
|
| Call to undefined function curl_init() in CRM\Core\Payment\PayPalImpl.php (when submitting new membership) |
|
| Sorry. A non-recoverable error has occurred. DB Error: constraint violation. Database Error Code: Cannot add or update a child row: a foreign key constraint fails (`crm`.`civicrm_log`, CONSTRAINT `FK_civicrm_log_modified_id` FOREIGN KEY (`modified_id`) REFERENCES `civicrm_contact` (`id`) ON DELETE CASCADE), 1452 |
|
| user warning: Duplicate entry '0' for key 1 query: INSERT INTO location ... | In sequence table, increment location_lid (or the corresponding counter) to value greater than any other location_lid used in the system. |
Share this



I believe in the greatness in people. When I chose Doctors Without Borders over Chase Bank and UNICEF over The NY Times, I believed in people's potential to enhance the quality of life of others, thousands of others. This is why I do what I do. I use
Comments