Support » Plugin: YouTube Channel » URL file-access is disabled in the server configuration

  • Resolved smadzara

    (@smadzara)


    First I would like to thank you for this great plugin.
    After i re-install version 2.0.0. I’ve get this warnings and no videos shown:

    Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/XXX/wp-content/plugins/youtube-channel/youtube-channel.php on line 336
    
    Warning: file_get_contents(http://gdata.youtube.com/feeds/base/users/XXX/uploads?alt=json&fields=entry(published,title,link,content)&rel=0) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/XXX/wp-content/plugins/youtube-channel/youtube-channel.php on line 336
    
    Warning: array_slice() expects parameter 1 to be array, null given in /home/XXX/wp-content/plugins/youtube-channel/youtube-channel.php on line 358

    This is happening even if I check “Fix No items error/Respect playlist order”.

    Here is mine YTC Debug data:

    server: Apache
    php: 5.2.17
    wp: 3.8.1
    ytc: 2.0.0
    url: XXX
    title: Test Title
    channel: XXX
    vidqty: 1
    playlist: null
    use_res: null
    cache_time: null
    only_pl: null
    getrnd: null
    maxrnd: 25
    goto_txt: null
    showgoto: null
    popup_goto: null
    showtitle: null
    showvidesc: null
    descappend: …
    videsclen: null
    width: 220
    height: null
    to_show: thumbnail
    autoplay: null
    controls: null
    fixnoitem: on
    ratio: null
    fixyt: null
    hideinfo: null
    hideanno: null
    themelight: null
    debugon: on
    userchan: null
    enhprivacy: null

    Any ideas what is going on? Thanks in advance.

    https://wordpress.org/plugins/youtube-channel/

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘URL file-access is disabled in the server configuration’ is closed to new replies.