Download & Extend

ImageCache Giving a Error when Creating Preset.

Project:ImageCache
Version:6.x-2.0-beta10
Component:imagecache_image module
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

I migrated my site from a personal development server running WAMP (windows/apache) to my hosted server running linux. Everything works fine.

But I have now installed imagecache (it was NOT installed before migration), and when I want to create a preset, it gives me the following error:

"Unable to create file c:/wamp/tmp/avatar_timagecache_sample.png because No such file or directory in /home/public_html/sites/all/modules/imagecache/imagecache.module on line 425."

So for some reason it is trying to use the old file structure for something. But why? It was never installed? Is there something else I need to change?

Thanks!

Comments

#1

I am experiencing this also. Error message:

warning: touch() [function.touch]: Unable to create file /Applications/MAMP/tmp/php/132x98imagecache_sample.png because No such file or directory in /home1/aaroncar/public_html/pickapart/sites/all/modules/contrib/imagecache/imagecache.module on line 425.

Additionally, my status report page has the following error:

ImageCache Temp Directory /Applications/MAMP/tmp/php is not writeable by the webserver.

Migrated from a MAMP environment to a shared server. Using imagecache 6.x-2.0-beta10 and drupal 6.17.

#2

Actually, I may have just found the issue. I changed the Temporary Directory to /tmp in Site Configuration -> File System settings page. It seems that Drupal detects MAMPs specific php tmp directory and stores it in a database config between environments.

Hopefully this helps someone else? I'll leave it to the maintainers to close the issue.

#3

Component:Code» imagecache_image module

Thanks a lot, had the same issue because my Temp directory had been set to 'C:\php\uploadtemp'

Regards,
Martin

#4

Thank's a lot!
For it was just entering the file system settings page and save again...

#5

Thank u much!

#6

Thanks aaron.r.carlton, it helped me too.
Regards