For some reason imagecache will not upload an image via an image field I have created to be used in story content types. I can see the thumbnail preview when I upload the image on the story creation form. However, the image is not uploaded when I submit the story and I get the red X field.

This seems to be related to some issue with the storage path. When I add a subdirectory to the files directory and try to save it I get an error that says the subdirectory does not exist. This happens even if I change permissions to 777 on both the files and the subdirectory.

Any suggestions to fix this?

Thanks

Comments

dopry’s picture

Status: Active » Postponed (maintainer needs more info)

Umm you don't upload files with imagecache... verify your imagefield is working properly first... and provide more details about your config so people can help you...

jpoesen’s picture

@dopry: I'm still thinking a whole slew of these similar bug reports are connected to the imagefield issues I responded to, namely that the path to the temp file is stored in a session variable, and when a user views the node after submit, the incorrect path to the temp file is used, instead of the correct path the temp file was copied to from the temp folder.

see: #236911: Strange caching/tempfile behaviour after thumbnail creation

dopry’s picture

@jpoesen: I appreciate your attempts to help, but you are assuming the person who opened this issue is having the same problem as you, with out knowing anything about how their server is setup or their site is configured. It isn't really a constructive approach. You add unnecessary noise to the issue and possibly point the original issue reporter to directions that might only further complicate their issue or confuse them.

Seriously please refrain from assuming people have the same issue as you, and stop cross posting your issue in follow-ups on other issues... Sure it gets my attention, but it also annoys the fark out of me, and makes it harder to help individuals who may have a completely different problem.

@macuhail: can you check your error logs, and post more details about your setup in the queue..

jpoesen’s picture

@dopry, well I'm sorry. As you stated, I'm only trying to help. *My* problem has been solved for a while now, so I don't need any support myself just now. But there's a fair number of open for which I thought I saw a common cause and thought it important to point that out. My bad.

dopry’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

no response from original author in 2 months closing.