Hi, jluster

I really like your flickr module but when I tested it. I got the following error message:

warning: fopen("drupal/files/temp/http%3A%2F%2Fwww.flickr.com%2Fservices%2Frest%2F%3Fmethod%3Dflickr.photosets.getList%26api_key%3D57db23d93dfcee677939da5504e8994f%26user_id%3D11866541%40N00.cached", "w+") - No such file or directory in /usr/local/psa/home/vhosts/kzeng.info/httpdocs/drupal/modules/flickr.module on line 168.
warning: fwrite(): supplied argument is not a valid File-Handle resource in /usr/local/psa/home/vhosts/kzeng.info/httpdocs/drupal/modules/flickr.module on line 171.
warning: fclose(): supplied argument is not a valid File-Handle resource in /usr/local/psa/home/vhosts/kzeng.info/httpdocs/drupal/modules/flickr.module on line 173.

Fatal error: Call to undefined function: file_get_contents() in /usr/local/psa/home/vhosts/kzeng.info/httpdocs/drupal/modules/flickr.module on line 176

could you help me to fix it? Thanks a lot !

--------------------------
http://www.kzeng.info

Comments

jluster’s picture

Make sure the cache directory you enter in settings is absolute, exists, and is read-writable by the server. This seems to be the most common issue. Try setting it to /tmp for a spell, and see what happens.

jluster’s picture

Assigned: Unassigned » jluster

Assigning to me.

kzeng’s picture

Hi, Jluster

Thank you very much! After using absolute path for the cache location, I get rid of those warning message. But there is still a fatal error as following:

Fatal error: Call to undefined function: file_get_contents() in /usr/local/psa/home/vhosts/kzeng.info/httpdocs/drupal/modules/flickr.module on line 176

Could you please give me some suggestion about how to fix it? Thanks again for your kind help!

jluster’s picture

file_get_contents() is (PHP 4 >= 4.3.0, PHP 5) according to php.net. What version of PHP are you running?

kzeng’s picture

Yes, you're right. I'm using PHP 4.2.2. So the error must be caused by this. Is there anyway to fix the problem? Thanks!