can someone please help? i have tried everything :(
i set up my site so i have an archives page which displays my posting of images in a thumbnail grid. but when i try setting up another for a gallery im getting these errors and its frustrating the shit outta me. i setup a fresh views, new imagecache for this gallery, different folders, everything. im really stumped ...
* warning: mkdir(files/imagecache/squarethumbnail_gallery) [function.mkdir]: Permission denied in /home/morawski/public_html/modules/imagecache/imagecache.module on line 156.
* warning: mkdir(files/imagecache/squarethumbnail_gallery/files) [function.mkdir]: No such file or directory in /home/morawski/public_html/modules/imagecache/imagecache.module on line 156.
* warning: mkdir(files/imagecache/squarethumbnail_gallery/files/gallery) [function.mkdir]: No such file or directory in /home/morawski/public_html/modules/imagecache/imagecache.module on line 156.
Comments
basically whats happening
basically whats happening (or not happening really) is the imagecache isnt giving me a thumbnail, or creating the folder for the thumbnail, instead i get that error
This fixed it for me:
I was having the exact same problem. I was using the same imagecache preset for two different content types. because I had set up default image directories for each content type using the same preset screwed things up. For example I had a cck image in content type A that pointed to a folder "content_a_images". For this image I used imagecache preset smallthumb. I had another content type B that also had a cck image field with a default folder "content_b_images". For this image field I used the same imagecache preset: smallthumb. When I changed the imagecache preset on content type B the errors went away.
It's funny, because I've shared presets like this before and not seen this error. I'm sure someone with more knowledge of Drupal and Imagecache could explain what is happening better than I.
Good luck.
try this
This one got me when I switched to VPS from shared. I tried disabling, uninstalling and reinstalling but it kept on with this error. I then did the same but not before deleting my presets (drupal admin), the imagecache folder in the files dir and going into my imagefield display settings and selecting a default (non imagecache) . Upon reinstall I created new presets and set one in imagefield display settings and everything works fine now. I couldn't tell you for sure but I think it was deleting the imagecache folder that did it, something to do with permissions when imagecache created the imagecache folder on install.