I tested the module on drupal 4.7-beta 5. It did not work. I got a script error from my IE browser saying “permission denied". What does this mean? Do I need to apply for an API key from flickr by myself? Thanks a lot!

Comments

ee’s picture

Assigned: Unassigned » ee
Status: Active » Fixed

Thanks for testing.

The initial version have some bugs. Please try the lastest cvs version (I uploaded it to http://messze.net/test/flickrstickr.tgz while drupal is not refresh the download link.)

GregoryHeller’s picture

Title: it did not work. » Still not workign in 4.6
Status: Fixed » Active

I tried installing the version (from the link provided) yesterday afternoon, and still could not get the module to work,

No images loaded in the image bar.

I get the following error reported in watch dog:

Location /home/index.php?q=flickrstickr/xml/user/GregoryH
Message fgets(): supplied argument is not a valid stream resource in /home/.darla/gheller/gregoryheller.com/home/modules/flickrstickr/flickrstickr.module on line 25.

ee’s picture

Hmm. Interesting.
Could you send me your phpinfo() output?
Is the allow_url_fopen parameter is On?

tvbarn’s picture

Title: Still not workign in 4.6 » Security issue and flickrstickr

Thanks to that response, I figured out why flickrstickr wasn't working for me on DreamHost:

DreamHost has wisely disabled the PHP option allow_url_fopen, which would normally allow a programmer to open, include or otherwise use a remote file using a URL rather than a local file path. The cURL library provides a feature-rich alternative.

tvbarn’s picture

OK, that was dumb formatting on my part. Try again:

DreamHost has wisely disabled the PHP option allow_url_fopen, which would normally allow a programmer to open, include or otherwise use a remote file using a URL rather than a local file path. The cURL library provides a feature-rich alternative.

tvbarn’s picture

(grrr)

Short answer: DreamHost supports cURL and does not
support allow_url_fopen.

abg’s picture

Status: Active » Closed (fixed)

I've got a local patch to using cURL to work around the Dreamhost (and any other ISP that forbids fopen() and related calls) restriction.

Email me and I'll send it to you.