Flickr Photos
Widget displaying a warning message (2 posts)

  1. Anne Hornyak
    Posted 4 years ago #

    The widget displays:
    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /data/3/0/18/145/181308/user/183641/htdocs/wp-content/plugins/simple-flickr-plugin/simpleflickrphotos.php on line 106

    Warning: file_get_contents(http://...@N05) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /data/3/0/18/145/181308/user/183641/htdocs/wp-content/plugins/simple-flickr-plugin/simpleflickrphotos.php on line 106


  2. deadhippo
    Posted 4 years ago #

    I found a solution

    Replace this line on line 106 of simpleflickrphotos.php:

    $html = file_get_contents($url);

    with this:

    $html = wp_remote_fopen($url);

    Thanks to tomauger.com

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Flickr Photos
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic