Support » Plugin: Cool Video Gallery » [Plugin: Cool Video Gallery] problem with add youtube video

  • Resolved hmsilva

    (@hmsilva)


    Warning: simplexml_load_file(http://gdata.youtube.com/feeds/api/videos/ZEK8cz7BcSE) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /hermes/bosweb26a/b163/ipg.bubblesurprisecom/wpexcel/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 108

    Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity “http://gdata.youtube.com/feeds/api/videos/ZEK8cz7BcSE” in /hermes/bosweb26a/b163/ipg.bubblesurprisecom/wpexcel/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 108

    Fatal error: Call to a member function children() on a non-object in /hermes/bosweb26a/b163/ipg.bubblesurprisecom/wpexcel/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 39

    why appers this?

    http://wordpress.org/extend/plugins/cool-video-gallery/

Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Praveen Rajan

    (@praveen-rajan)

    Please make sure you have SimpleXML extension for PHP enabled in your server.

    Thanks,
    Praveen Rajan

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    Update:

    Please enable the following settings of PHP in php.ini

    allow_url_fopen = On

    Thanks,
    Praveen Rajan

    Having the same issue with my plugin. SimpleXML is enabled, and I’ve added the allow_url_fopen = On to my php.ini. Still not working. Any thoughts?

    clarify: I’m only getting the fatal error: call to a member function children() message (same line 39)

    i dont find that php.ini

    I made these changes as well and am still encountering the same problem…

    I double-checked with my host company (Hostway) to make sure I had SimpleXML enabled as well as the “allow_url_fopen = On” addition to my php.ini.

    However, when I try to add a youtube video to a gallery, I am still greeted with this message:

    Warning: simplexml_load_file(http://gdata.youtube.com/feeds/api/videos/http://www.youtube.com/playlist?list=PL81F93277620C93CD&feature=plcp) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in /home/vg004web05/04/45/2014504/web/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 110

    Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity “http://gdata.youtube.com/feeds/api/videos/http://www.youtube.com/playlist?list=PL81F93277620C93CD&feature=plcp” in /home/vg004web05/04/45/2014504/web/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 110

    Fatal error: Call to a member function children() on a non-object in /home/vg004web05/04/45/2014504/web/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 39

    Any help would be greatly appreciated. This plugin looks exactly like what I need for my site.

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    @ JoelBrewer

    May I know the Youtube Video ID you are trying to add?

    how i can resolve problem? i dont know here is php.ini file to add allow_url_fopen = On

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    @ hmsilva

    php.ini file is not part of CVG or WordPress. It’s a PHP configuration file you will find the webserver hosting your site. You will have to contact your server team to know about it and ask them to enable this configuration in this file.

    Same problem:
    Warning: simplexml_load_file(http://gdata.youtube.com/feeds/api/videos/http://www.youtube.com/watch?v=7FYVfHe4hRY) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in /home/content/25/9254925/html/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 110

    Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity “http://gdata.youtube.com/feeds/api/videos/http://www.youtube.com/watch?v=7FYVfHe4hRY” in /home/content/25/9254925/html/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 110

    Fatal error: Call to a member function children() on a non-object in /home/content/25/9254925/html/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 39

    Seems like resolution isn’t working either:

    Operating System : Linux (32 Bit)
    Server : Apache
    MySQL Version : 5.0.92-log
    PHP Version : 5.2.17
    PHP Max Upload Size : 8MB
    FFMPEG : Not Installed
    [Note: Preview images for uploaded videos will not be created automatically using FFMPEG. Manually upload preview images for videos.]
    PHP extension SimpleXML : Enabled
    PHP setting allow_url_fopen : Enabled

    and here’s the link to one of the videos I am trying to upload:
    http://www.youtube.com/watch?v=gMGX_05v3RM&hd=1

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    @vide6043

    Please make sure you are adding Youtube Video ID and not the Youtube Video URL when adding a Youtube video

    I have the same problem. I’m not using the URL, I’m using the video ID. I have the proper configuration in my php.ini.

    Warning: simplexml_load_file(http://gdata.youtube.com/feeds/api/videos/ZHjckwXL8h) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in /home/websites/domain.com/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 110

    Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity “http://gdata.youtube.com/feeds/api/videos/ZHjckwXL8h” in /home/websites/domain.com/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 110

    Fatal error: Call to a member function children() on a non-object in /home/websites/domain.com/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 39

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    @ ericinwisconsin

    May I know your video URL. The Video ID ZHjckwXL8h mentioned in the post is invalid. Try using the link http://gdata.youtube.com/feeds/api/videos/ZHjckwXL8h in browser and you can see the reason why it is failing.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[Plugin: Cool Video Gallery] problem with add youtube video’ is closed to new replies.