Project

General

Profile

Actions

Bug #24875

closed

Thumbnails of PDF files not working anymore

Added by Steffen Gebert almost 14 years ago. Updated over 13 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Image Cropping
Target version:
-
Start date:
2011-01-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

A user complained that PDFs get no thumbnails anymore in FE - after some tests in BE, I would say they work there. I can find lots of log entries similar to this one:

25-Jan-2011 18:22:47] PHP Warning:  filemtime(): stat failed for uploads/media/Blabla_3.2010_Final.pdf120 in t3lib/thumbs.php on line 166
[25-Jan-2011 18:22:47] PHP Stack trace:
[25-Jan-2011 18:22:47] PHP   1. {main}() t3lib/thumbs.php:0
[25-Jan-2011 18:22:47] PHP   2. SC_t3lib_thumbs->init() t3lib/thumbs.php:421
[25-Jan-2011 18:22:47] PHP   3. filemtime() t3lib/thumbs.php:166
[25-Jan-2011 18:22:47] PHP Fatal error:  Uncaught exception 'RuntimeException' with message 'TYPO3 Fatal Error: Image file uploads/media/Blabla_3.2010_Final.pdf120' does not exist and/or MD5 checksum did not match.' in t3lib/thumbs.php:185
Stack trace:
#0 t3lib/thumbs.php(421): SC_t3lib_thumbs->init()
#1 {main}
  thrown in t3lib/thumbs.php on line 185

All entries have in common: File *.pdf120 does not exist. Seems like parameters file name and width(?) are not separated by space or simlar bug.

This output is based on #24803 applied, which adds the file name to the Exception message.
(issue imported from #M17386)

Actions

Also available in: Atom PDF