I am using the flickr API with Flickr Sync. When I try and update a user with the flickr user name or change the import date I recieve the error below. Same happens on a cron run.
The nodes are created with the correct title but the image is missing. I have tried version of phpFlickr 2.3.1 and 2.2.0
Sys: Win2003, IIS 6, fastcgi, PHP 5.2.5, mysql 5.0
* warning: fopen(/60582885ca8a0ae9efec4f2da5a9dfab.cache) [function.fopen]: failed to open stream: Permission denied in D:\...\sites\all\modules\flickrapi\phpFlickr\phpFlickr.php on line 188.
* warning: fwrite(): supplied argument is not a valid stream resource in D:\...\sites\all\modules\flickrapi\phpFlickr\phpFlickr.php on line 189.
* warning: fclose(): supplied argument is not a valid stream resource in D:\...\sites\all\modules\flickrapi\phpFlickr\phpFlickr.php on line 190.
* warning: fopen(/60582885ca8a0ae9efec4f2da5a9dfab.cache) [function.fopen]: failed to open stream: Permission denied in D:\...\sites\all\modules\flickrapi\phpFlickr\phpFlickr.php on line 188.
* warning: fwrite(): supplied argument is not a valid stream resource in D:\...\sites\all\modules\flickrapi\phpFlickr\phpFlickr.php on line 189.
* warning: fclose(): supplied argument is not a valid stream resource in D:\...\sites\all\modules\flickrapi\phpFlickr\phpFlickr.php on line 190.
Comments
Comment #1
Shiny commentedComment #2
Shiny commentedThe module defaults to cache writing to /tmp.
Can you try the change from http://drupal.org/node/640754 - this makes the location of the cache configurable.
Comment #3
bramick commentedI ended up creating a new folder outside the tmp folder and setting the "Flickr Cache Path: *" to the new folder. That seems to have worked so far.
Comment #4
BarisW commentedThe D7 version checks if the given directory is writable. Needs to be ported to D6 though.
Comment #5
BarisW commentedCommitted to 6.x-1.x-dev as well.