Had an issue where a couple of videos made it into the system with missing thumbnails. Every time those videos were displayed, we'd get errors like:

warning: filesize() [function.filesize]: stat failed for sites/default/files/video_thumbs/1455/video-thumb-for--2.jpg in ...sites/default/modules/video/views/video_views_handler_field_data.inc on line 43.

Patched video_views_handler_field_data.inc to check to make sure the file is readable before it tries to read the filesize.

Comments

vishun’s picture

Status: Needs review » Reviewed & tested by the community

This patch fixed the same warning that i was receiving even with working thumbnails.

Thank you garethsprice

hypertext200’s picture

Status: Reviewed & tested by the community » Patch (to be ported)

Added to the dev version.

hypertext200’s picture

Status: Patch (to be ported) » Closed (fixed)