Error when adding a Media In About type Content

skamamu's picture
skamamu
Thu, 06/30/2016 - 19:42
#1
Error when adding a Media In About type Content

Good Afternoon,

The issue occurs when I create a content type About..

all is fine, but when i select the button Browse in section Media. the popup page display next error.

Error message

Exception: Error Processing Request. (Error: 404, Not Found) inMediaYouTubeStreamWrapper->getOriginalThumbnailPath() (line 31 of/home/public_html/hotel/sites/all/modules/contrib/media_youtube/includes/MediaYouTubeStreamWrapper.inc).

The website encountered an unexpected error. Please try again later.

Thanks

phuonght's picture
phuonght
Thu, 06/30/2016 - 22:23

Hi,

Please remove folder media_youtube in modules/contrib and replace with folder media_youtube in dowloaded theme package.

skamamu's picture
skamamu
Sat, 07/02/2016 - 01:06

Now I´m in production site 

Exception: Error Processing Request. (Error: 404, Not Found) inMediaYouTubeStreamWrapper->getOriginalThumbnailPath() (line 31 of/home/ignacio/public_html/portal1/sites/all/modules/contrib/media_youtube/includes/MediaYouTubeStreamWrapper.inc).
The website encountered an unexpected error. Please try again later.


 I do what did you say but the error persist.

Image title

skamamu's picture
skamamu
Sat, 07/02/2016 - 02:40

I answer the question.. 

Under line 31  of MediaYouTubeStreamWrapper.inc file just add this 3 lines:

##############################

elseif ($response->code == 404) {

    return "http://s.ytimg.com/yts/img/image-hh-404-vflvCykRp.png";
    }
#################################

thats work for me.

Log in or register to post comments
Have More Idea?

We are here to build your website!

No Universal solution fits all special business requirements. Our experienced team is ready with ideas and state-of-the-art technical solutions to consult the best solution within your budget.