Hi,
I'm not entirely sure if this problem relates to Ubercart or Imagecache or something else, but it manifests in Ubercart, so I hope this is the right place to post, and I hope someone has encountered something similar and can offer some suggestions.
I was running under Drupal 5/Ubercart 1, and everything was working perfectly. After upgrading to D6/UC2, everything seemed fine until I added a couple of products and I've run into a snag with images.
For all of my existing products migrated from D5, the images are in the "drupal/sites/mysite/files" directory. It probably would be better if they were a level down, but it's not a very big store, so it's not a big issue. The thumbnails for these images get put in "drupal/sites/mysite/files/imagecache/product_list/xxxx.jpg" (and the various imagecache directories for other sizes).
However, for some reason, images for new products created with UC2 are getting created in the directory "drupal/sites/mysite/files/sites/mysite/files". For some reason the "/sites/mysite/files" is appearing twice in the path. The image dies not appear on product pages. I've checked the HTML source, and the path the file is looking for is "drupal/sites/mysite/files/imagecache/product_list/sites/mysite/files/xxxx.jpg". However, this path/file is not getting created under the imagecache directory.
I've checked that the directories are world writable, and when I flush the ImageCache, old product images get recreated, but new ones get ignored.
I strongly suspect that the cause is the duplicate files directory in the path, but I can't figure out where this could be coming from. I've double-checked the File System settings, and it is "sites/mysite/files".
I'm running Drupal version 6.16 and Ubercart 2.2.
Any help really appreciated.
James
