I'm working on a site that has just been upgraded from drupal 5 to drupal 6. After creating a new node which contains an image attach, the image is visible on the node page. When however I view this node/image via a view (which uses a different image size, setup in admin/settings/image/nodes), the image is not visible?

If I rerun update.php (image:6103 and image_attach:6103) and return to the view the image shows.

Version Info:
Drupal 6.16
Image 6.x-1.0-beta5
Views 6.x-2.10

I'm also getting this error in the DB logs:
Duplicate entry '1723-0' for key 1 query: INSERT INTO image_attach (nid, iid, weight) VALUES (1723, 0, 74) in /var/www/html/aswatstaging/sites/all/modules/image/contrib/image_attach/image_attach.module on line 428.

I understand the upgrade path from 5->6 is rocky, any help would be great! Don't mind diving into the database if required!

Thanks,
Mark

Comments

joachim’s picture

Status: Active » Closed (duplicate)

Probably a duplicate of #207557: update 5-1 to 5-2 gives user warning: Duplicate entry '611-thumbnail' for key 1 query in image_update_5200, which has been fixed (hopefully!). If you still find problems, report over there please.