WordPress.org

Forums

Simply Instagram
[resolved] Warning: file_get_contents() (3 posts)

  1. jennmeakin
    Member
    Posted 2 years ago #

    When I click on an instagram thumbnail on my site, the following page shows these two errors:

    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in (system path)/wp-content/plugins/simply-instagram/simply-instagram-pp-media-viewer.php on line 6

    Warning: file_get_contents(https://api.instagram.com/v1/media/377461274727507421_51051624?access_token=51051624.39170cd.25f6827a61704f31ac64398f6080c923) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in (system path)/wp-content/plugins/simply-instagram/simply-instagram-pp-media-viewer.php on line 6

    What's going on?

    thanks,
    jenn.e.

    http://wordpress.org/extend/plugins/simply-instagram/

  2. jennmeakin
    Member
    Posted 2 years ago #

    ** please note that it the browser displays the file_get_contents error when these setting are being used:

    Display Photo Information : Single Media Viewer

    When the settings are Display Photo Information: Simply Instagram Media Viewer, when I click on a thumbnail, it gives me the current URL ending in /#.

    When the settings are Display Photo Information: Slideshow, the browser procedes to another page, but this page only shows the thumbnail image.

    jenn.e.

  3. rollybueno
    Member
    Plugin Author

    Posted 2 years ago #

    Hi there,

    file_get_contents() will not work if "allow_url_fopen" property in your php.ini is set to close. Uncomment it in your server to make it work.

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic