Closed (fixed)
Project:
D7 Media
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
21 Feb 2013 at 21:42 UTC
Updated:
30 Jun 2013 at 16:40 UTC
Jump to comment: Most recent file
When I search for a youtube video from the youtube tab, I get the following notice, and no results are returned.
Notice: Undefined property: stdClass::$data in _media_retrieve_xml() (line 40 of C:\wamp\www\drupal\sites\all\modules\media\includes\media.xml.inc).
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | add-error-handling-to-url-retrieval-1924048-8.patch | 2.59 KB | devin carlson |
| #5 | media-fail-to-enter-youtube-url.JPG | 75.27 KB | vfspostwork |
Comments
Comment #1
aaron commentedI closed the duplicate issue at #1917676: Error when searching on the youtube tab..
Comment #2
emptyvoid commentedThat's great, so that is great that we don't have duplicate issues.
But does anyone have any ideas on why the service doesn't work any longer.
Comment #3
emptyvoid commentedI'm guessing it may have something to do with the "security" changes in 7.20? Perhaps?
Comment #4
aaron commentedIn my case, it turned out that PHP's openSSL module was not enabled. This exposes another problem, in the media module, which expects $result->data, which might not exist if an error is returned.
Comment #5
vfspostwork commentedI' even can't paste youtube and vimeo url into the web-tab ... any clue ?
"http://www.youtube.com/watch?v=RuqpLOiFCfo could not be added. Only the following types of files are allowed to be uploaded: video"
Media version = "7.x-2.0-unstable7+37-dev"
Media_Youtube version = "7.x-1.0-beta5"
Media_Vimeo version = "7.x-2.0-rc2"
Comment #6
denix commentedI have exactly the same message with:
Media version = "7.x-2.0-unstable7+37-dev"
Media_Youtube version = "7.x-2.dev" and "7.x-2.0-rc2"
It does not seems to be a proxy issue.
Denis
Comment #7
aaron commentedPlease do not hijack this issue, and also make sure that when you open a new issue, you post it in the media: youtube project issue queue. Note that with the video url that you provided, I did not get that problem, although I was using the 7.x-2.x branch of development.
Comment #8
devin carlson commentedA patch to add error handling for cases where the URL can't be retrieved using
drupal_http_request().Comment #9
devin carlson commentedTested #8 using a similar case as described in #4 by disabling PHP's openSSL module and attempting to retrieve a HTTPS URL which left
$result->dataunavailable.Committed to 7.x-2.x.