• codyboyko

    (@codyboyko)


    When I use any shortcode on a page, the page loads with the correct flickr gallery but I also receive numerous errors such as:

    Warning: opendir(/u/e/XXXX/stage.XXXXXXX.ca/wp-content/blogs.dir/2/files/phpFlickrCache) [function.opendir]: failed to open dir: No such file or directory in /u/e/XXXX/stage.XXXXXXX.ca/wp-content/plugins/flickr-photostream/phpFlickr/phpFlickr.php on line 115

    Any clue why I am having issues with caching the gallery?

    https://www.ads-software.com/plugins/flickr-photostream/

Viewing 1 replies (of 1 total)
  • Thread Starter codyboyko

    (@codyboyko)

    By manually creating a directory called “phpFlickrCache” in wp-content/blogs.dir/2/ this resolved the issue.

    Might be way off base but; possibly this directory was restricted and did not allow the mkdir command on line 40 to work? Maybe add a check to see if directory exists on activation? e.g. if(!is_writable($upload_dir[‘basedir’].’/phpFlickrCache’) || !is_dir($upload_dir[‘basedir’].’/phpFlickrCache’))

Viewing 1 replies (of 1 total)
  • The topic ‘Cache Issue’ is closed to new replies.