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

Shiny’s picture

Status: Active » Needs review
Shiny’s picture

The 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.

bramick’s picture

I 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.

BarisW’s picture

Status: Needs review » Patch (to be ported)

The D7 version checks if the given directory is writable. Needs to be ported to D6 though.

BarisW’s picture

Category: support » bug
Status: Patch (to be ported) » Fixed

Committed to 6.x-1.x-dev as well.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.