I upgraded a Drupal 6 site to Drupal 7. After upgrading, everything works fine. I had migrated all the content types and content. I am able to view all the content.
When I edit or add a content which contains an image field, I get the following error:
PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'field_image_alt' in 'field list':
INSERT INTO {field_data_field_image} (entity_type, entity_id, revision_id, bundle, delta, language, field_image_fid, field_image_alt, field_image_title, field_image_width, field_image_height)
I came to know that field_image_alt is not found.
How can I manually add the field? I had run update.php specified in drupal documentation. But still i found that the field is missing. Anyone pls help me to add those fields.??
field_image
to a file field, not an image field (you can tell by the column names). I've never done a (non-manual) 6-7 upgrade before so I don't know, but is that an option you were able to choose in the original migration? If so, chooseimage
instead offile
, run it again, and you should be fine