Closed (fixed)
Project:
Video
Version:
6.x-4.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2010 at 20:07 UTC
Updated:
30 Sep 2010 at 05:24 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| video_views_handler_field_data.inc_.patch | 526 bytes | garethsprice |
Comments
Comment #1
vishun commentedThis patch fixed the same warning that i was receiving even with working thumbnails.
Thank you garethsprice
Comment #2
hypertext200Added to the dev version.
Comment #3
hypertext200