Hi,
I installed Open Publish on a shared LAMP hosting and tried to create nodes of Article type where the More Like This module uses various APIs to retrieve relevant content from the same site, Google and Flickr. While articles on the test site retrieve videos, Flickr pics are not retrieved and I get the following error:
warning: opendir(/tmp) [function.opendir]: failed to open dir: Permission denied in /home/mydomain/www/www/mysite/sites/all/modules/flickrapi/phpFlickr/phpFlickr.php on line 136.
As far as I can see, line 136 contains a function call but I am not good with PHP and could not find out which directory the script tries to process. Could you please specify the target directory that it needs access to and what permissions it must have? Do I have to create a file/directory, where and with what sort of permissions in order for it to work?
Thanks in advance for your support,
Kremena
Comments
Comment #1
kenyan commentedI have the exact same issue on OP 1.7.0
Subscribing
Comment #2
bloom commentedI have found this in flickrapi.module.
So, you may need to set different tmp path, like you use in File System settings.
Haven't found how to change this value through admin interface. Use db.
Comment #3
Shiny commentedi've made this configurable in the dev version
please test -- you can get a copy either by checking out the D6 version of this module from CVS, or wait 24 hours for it to appear in the dev tar ball.
Comment #4
Shiny commentedComment #5
BarisW commentedDuplicate of #613058: fopen failed to open stream: Permission denied. Already fixed.