I'm having terrible trouble with my product images.

I'm using Drupal 5.15, CCK 5.x-1.10, Ubercart 5.x-1.7, and Imagecache 5.x-2.3.

It used to work ok, BUT I'd get "imagecache: non-existant action" messages in the log all the time. (Note there's nothing in the message to say which action.)

NOW, I'm still getting non-existant action messages, AND some of my product images are not being generated at all.

I used CCK to add 3 separate image fields to my products, and one of these is never generated. The other 2 (exactly the same type of field, set up in the same way) are fine.

I'm not getting any other error messages at all.

Can anyone help?

Lucy

Comments

lucyconnuk’s picture

For anyone else who's having this problem...

It seems that at some point I changed this setting on the image field that was causing me problems:

Image path:
Optional subdirectory within the "files" directory where images will be stored. Do not include trailing slash. You can use the following tokens in the image path.

When I looked in the files table in my database, I could see that the filepath for those images was still set to the old location.

I did an SQL query to repair it:

update files set `filepath` = replace( `filepath`, 'files', 'files/images') where `filepath` not like 'files/images%'

(Obviously this is quite a drastic thing to do so don't try this unless you're sure what you're doing)

I'm still not sure why this gave "non-existant action" messages but everything seems ok now.

Lucy C

thill_’s picture

The simple answer is Ubercart does not support imagecache 2.x, on the Ubercart project page it specifies support for 1.x only.

lucyconnuk’s picture

Oh! To be honest I hadn't noticed that.

It does seem to be working ok now though...

Lucy C