Hi,

Help!! I just updates the website of a client of mine (a real estate agent). After updating feeds 7.x-2.0-alpha7 -> 7.x-2.0-beta2 and Feeds XPath Parser 7.x-1.0-beta3 -> 7.x-1.1, I cannot import images anymore. I can however import any other text field without any problem but images return the following error:

exception 'Exception' with message 'Download of http://
.JPG failed with code -1002.' in /data/sites/web//www/sites/all/modules/feeds/plugins/FeedsParser.inc:424

For every error, feeds returns an exception message as well:

Invalid enclosure http://
.JPG

If I paste the external image URL in my browser, the image displays fine so the URL is not the problem I think.

The imported data is used to create a node. There is an image field in the node which can contain multiple images. Upon import, the nodes are created without any problem but the image fields remain empty. Can anyone please help as this is an urgent problem? I cannot update the website of my client anymore.

I attached the entire error message.

Thank you very much,
Kind regards,
Steven

CommentFileSizeAuthor
xpath-parser-error.txt2.28 KBsteven.be
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

steven.be created an issue.

Vinayak Kothule’s picture

Hi steven.be,

1.Create the CCK image field using Imagecache External module then store the images on server.
2.Give the external URL of image in feed import. It will download the image from the server and assign it to the image field.

Imagecache External: https://www.drupal.org/project/imagecache_external

Thanks!