I'm getting the following errors regarding a vimeo video. Looks like it is trying to rebuild the thumbnails but the file access method isn't working. Strange this is that it does end up grabbing the new thumbnail, but it gives this error when I go to edit the video node.
- warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /home/8312/domains/site.org/html/dev/sites/all/modules/emfield/contrib/emthumb/emthumb.module on line 565.
- warning: file_get_contents(http://ts.vimeo.com.s3.amazonaws.com/176/209/17620929_160.jpg) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in /home/8312/domains/site.org/html/dev/sites/all/modules/emfield/contrib/emthumb/emthumb.module on line 565.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | emthumb.patch | 912 bytes | theoldfather |
Comments
Comment #1
theoldfather commentedHere is the patch. It ignores the warning thrown by file_get_contents and checks to see if $image is set. If not, it attempts to use cURL to fetch the image instead. This is patched from the current dev build.
Comment #2
mengzi commentedI get the exact same error on Drupal 7.x, 1.0 alpha2.
Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in MediaInternetYouKuHandler->save() (line 42 of /homepages/[...]/htdocs/drupal7/sites/all/modules/media_youku/includes/MediaInternetYouKuHandler.inc).
Warning: file_get_contents(http://v.youku.com/player/getPlayList/VideoIDS/[...]/timezone/+08/versio...) [function.file-get-contents]: failed to open stream: no suitable wrapper could be found in MediaInternetYouKuHandler->save() (line 42 of /homepages/[...]/htdocs/drupal7/sites/all/modules/media_youku/includes/MediaInternetYouKuHandler.inc).
Warning: filesize() [function.filesize]: stat failed for youku://v/xyz in file_save() (line 570 of /homepages/[...]/htdocs/drupal7/includes/file.inc).
Would anyone what this might be caused by?
Comment #3
kenorb commented