Details
-
Type: Sub-task
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Duplicate
-
Affects Version/s: 4.0.6
-
Fix Version/s: 3.4.7
-
Component/s: Drupal Integration Modules
-
Labels:None
Description
I get the same error with the civicrm release version 4.0.6 and Drupal 7.8:
(using German and English languages on this blog).
PDOException: SQLSTATE[HY000]: General error: 1364 Field 'rule_id' doesn't have a default value: INSERT INTO
{civicrm_member_roles_rules}(rid, type_id, status_codes) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => 6 [:db_insert_placeholder_1] => 1 [:db_insert_placeholder_2] => a:4:{i:0;s:7:"current";i:1;s:7:"expired";s:7:"current";a:1:
{i:0;s:1:"2";}s:7:"expired";a:1:{i:0;s:1:"4";}} ) in civicrm_member_roles_add_rule_form_submit() (line 454 of /web/content/sites/all/modules/civicrm/drupal/modules/civicrm_member_roles/civicrm_member_roles.module).
BR, Max