I do have Image Cache and Image field enabled. After clicking on "Click here to automatically configure the following items for core image support:" on the "Store administration" page below "Status messages" 2 of the 3 displayed reasons where gone. Only the item "The Image file field has not been created for products." and the yellow exclamation mark left visible.
After clicking again on "Click here to automatically configure the following items for core image support:" the following error message appeared:
* user warning: Duplicate entry 'field_image_cache' for key 1 query: INSERT INTO content_node_field (field_name, type, global_settings, required, multiple, db_storage, module, db_columns, active, locked) VALUES ('field_image_cache', 'image', 'a:3:{s:10:\"list_field\";s:0:\"\";s:12:\"list_default\";s:1:\"0\";s:17:\"description_field\";s:0:\"\";}', 0, 1, 0, 'filefield', 'a:3:{s:3:\"fid\";a:2:{s:4:\"type\";s:3:\"int\";s:8:\"not null\";b:0;}s:4:\"list\";a:3:{s:4:\"type\";s:3:\"int\";s:4:\"size\";s:4:\"tiny\";s:8:\"not null\";b:0;}s:4:\"data\";a:2:{s:4:\"type\";s:4:\"text\";s:9:\"serialize\";b:1;}}', 0, 0) in /home/user/public_html/includes/common.inc on line 3422.
* user warning: Duplicate entry 'field_image_cache-product' for key 1 query: INSERT INTO content_node_field_instance (field_name, type_name, weight, label, widget_type, widget_settings, display_settings, description, widget_module, widget_active) VALUES ('field_image_cache', 'product', -2, 'Image', 'imagefield_widget', 'a:11:{s:15:\"file_extensions\";s:20:\"gif jpg jpeg png bmp\";s:9:\"file_path\";N;s:21:\"max_filesize_per_file\";N;s:21:\"max_filesize_per_node\";N;s:12:\"file_widgets\";N;s:14:\"max_resolution\";N;s:14:\"min_resolution\";N;s:3:\"alt\";N;s:10:\"custom_alt\";s:1:\"1\";s:5:\"title\";N;s:12:\"custom_title\";s:1:\"1\";}', 'a:4:{s:5:\"label\";a:1:{s:6:\"format\";s:6:\"hidden\";}s:6:\"teaser\";a:1:{s:6:\"format\";s:6:\"hidden\";}s:4:\"full\";a:1:{s:6:\"format\";s:6:\"hidden\";}i:4;a:1:{s:6:\"format\";s:6:\"hidden\";}}', '', 'imagefield', 1) in /home/user/public_html/includes/common.inc on line 3422.
I had CCK Image field enabled after enabling the Ubercart modules.
Comments
Comment #1
fuerst commentedReason for that error: table field content_node_field.active is set to 0.
Deinstalling Ubercart and Image Field and reinstalling Image Field first, than Ubercart solved it.
Comment #2
rszrama commentedComment #3
WiKKiDWidgets commentedStill having issues
Disabled and Uninstalled Ubercart
Disabled and Uninstalled Imagecache
Disabled and Uninstalled ImageAPI
Dependencies:
FileField: 6.x-3.0-beta3 - 2009-Mar-20
CCK: 6.x-2.2 - 2009-Mar-18
Imagefield: 6.x-3.0-beta3 - 2009-Mar-20
ImageAPI: 6.x-1.5 - 2009-Mar-18
ImageCache: 6.x-2.0-beta8 - 2009-Feb-17
UberCart: 6.x-2.0-beta5 - Current
I get all the way to enabling the Products module in Ubercart and get this:
user warning: Duplicate entry 'field_image_cache' for key 1 query: INSERT INTO content_node_field (field_name, type, global_settings, required, multiple, db_storage, module, db_columns, active, locked) VALUES ('field_image_cache', 'image', 'a:3:{s:10:\"list_field\";s:0:\"\";s:12:\"list_default\";s:1:\"0\";s:17:\"description_field\";s:0:\"\";}', 0, 1, 0, 'filefield', 'a:3:{s:3:\"fid\";a:2:{s:4:\"type\";s:3:\"int\";s:8:\"not null\";b:0;}s:4:\"list\";a:3:{s:4:\"type\";s:3:\"int\";s:4:\"size\";s:4:\"tiny\";s:8:\"not null\";b:0;}s:4:\"data\";a:2:{s:4:\"type\";s:4:\"text\";s:9:\"serialize\";b:1;}}', 0, 0) in [EDIT] /html/includes/common.inc on line 3422.
user warning: Duplicate entry 'field_image_cache-product' for key 1 query: INSERT INTO content_node_field_instance (field_name, type_name, weight, label, widget_type, widget_settings, display_settings, description, widget_module, widget_active) VALUES ('field_image_cache', 'product', -2, 'Image', 'imagefield_widget', 'a:11:{s:15:\"file_extensions\";s:20:\"gif jpg jpeg png bmp\";s:9:\"file_path\";N;s:21:\"max_filesize_per_file\";N;s:21:\"max_filesize_per_node\";N;s:12:\"file_widgets\";N;s:14:\"max_resolution\";N;s:14:\"min_resolution\";N;s:3:\"alt\";N;s:10:\"custom_alt\";s:1:\"1\";s:5:\"title\";N;s:12:\"custom_title\";s:1:\"1\";}', 'a:4:{s:5:\"label\";a:1:{s:6:\"format\";s:6:\"hidden\";}s:6:\"teaser\";a:1:{s:6:\"format\";s:6:\"hidden\";}s:4:\"full\";a:1:{s:6:\"format\";s:6:\"hidden\";}i:4;a:1:{s:6:\"format\";s:6:\"hidden\";}}', '', 'imagefield', 1) in [EDIT] /html/includes/common.inc on line 3422.
Further notes:
Content of MSQL database:
content_node_field
field_image_cache image a:3:{s:10:"list_field";s:0:"";s:12:"list_default";... 0 1 0 filefield a:3:{s:3:"fid";a:2:{s:4:"type";s:3:"int";s:8:"not ... 0 0
content_node_field_instance
field_image_cache product -2 Image imagefield_widget a:11:{s:15:"file_extensions";s:20:"gif jpg jpeg pn... a:4:{s:5:"label";a:1:{s:6:"format";s:6:"hidden";}s... imagefield 1
Did I miss a step?
Note: [EDIT] in the error above is me removing my personal account info.
Comment #4
b0b commentedI'm having the same issue, uninstall and reinstall did not fix it for me either.
Comment #5
fuerst commentedLooks like a duplicate of http://drupal.org/node/404352
The problem seems to be a change in the Imagefield module to the field type which was "image" and now is "filefield. See http://drupal.org/node/404352#comment-1366586
It is fixed in Ubercart 6.x-2.x-dev (2009-Mar-18)
There is currently more trouble in the air using Imagefield though, so take care which versions you use: http://drupal.org/node/402860