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

    (@praveen-rajan)

    @ flashwolf

    Use Youtube Video ID and not Video URL

    Thread Starter flashwolf

    (@flashwolf)

    hello
    i know …
    i write just this “Z9LpcDnCzfY”
    thats youtube video ID
    and thats the result:

    “Warning: simplexml_load_file(https://gdata.youtube.com/feeds/api/videos/Z9LpcDnCzfY) [function.simplexml-load-file]: failed to open stream: HTTP request failed! HTTP/1.0 403 Forbidden in /homez.734/xxx/www/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 109

    Warning: simplexml_load_file() [function.simplexml-load-file]: I/O warning : failed to load external entity “https://gdata.youtube.com/feeds/api/videos/Z9LpcDnCzfY” in /homez.734/xxx/www/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 109

    Fatal error: Call to a member function children() on a non-object in /homez.734/xxx/www/wp-content/plugins/cool-video-gallery/lib/youtube.php on line 38

    my server details

    Operating System : Linux (32 Bit)
    Server : Apache
    MySQL Version : 5.1.66-0+squeeze1-log
    PHP Version : 5.2.17
    PHP Max Upload Size : 64MB
    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

    Plugin Author Praveen Rajan

    (@praveen-rajan)

    @flashwolf

    Error mentioned in 2 posts are different, first one showing the input as Video URL. I was able to add the video with the video ID mentioned.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘warning on line 109’ is closed to new replies.