Closed (fixed)
Project:
SPARCS
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
14 Feb 2012 at 22:38 UTC
Updated:
14 Feb 2012 at 23:18 UTC
PDOException: SQLSTATE[42000]: Syntax error or access violation: 1072 Key column 'location_reference_target_type' doesn't exist in table: CREATE TABLE {field_data_location_reference} ( `entity_type` VARCHAR(128) NOT NULL DEFAULT '' COMMENT 'The entity type this data is attached to', `bundle` VARCHAR(128) NOT NULL DEFAULT '' COMMENT 'The field instance bundle to which this row belongs, used when deleting a field instance', `deleted` TINYINT NOT NULL DEFAULT 0 COMMENT 'A boolean indicating whether this data item has been deleted', `entity_id` INT unsigned NOT NULL COMMENT 'The entity id this data is attached to', `revision_id` INT unsigned NULL DEFAULT NULL COMMENT 'The entity revision id this data is attached to, or NULL if the entity type is not versioned', `language` VARCHAR(32) NOT NULL DEFAULT '' COMMENT 'The language for this data item.', `delta` INT unsigned NOT NULL COMMENT 'The sequence number for this data item, used for multi-value fields', `location_reference_target_id` INT unsigned NULL DEFAULT NULL COMMENT 'The id of the target entity', PRIMARY KEY (`entity_type`, `entity_id`, `deleted`, `delta`, `language`), INDEX `entity_type` (`entity_type`), INDEX `bundle` (`bundle`), INDEX `deleted` (`deleted`), INDEX `entity_id` (`entity_id`), INDEX `revision_id` (`revision_id`), INDEX `language` (`language`), INDEX `location_reference_target_entity` (`location_reference_target_type`, `location_reference_target_id`), INDEX `location_reference_target_id` (`location_reference_target_id`) ) ENGINE = InnoDB DEFAULT CHARACTER SET utf8 COMMENT 'Data storage for field 11 (location_reference)'; Array ( ) in db_create_table() (line 2688 of /home/sparcsadmin/d7/includes/database/database.inc).
Comments
Comment #1
spydmobile commentedThis is now fixed as of Commit 6cb773d on master
Comment #2
spydmobile commentedComment #2.0
spydmobile commentedbetter code formatting