Project

General

Profile

Actions

Bug #21173

closed

Replace "Warning: filemtime(): stat failed" with a nice error message

Added by Steffen Gebert about 15 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-10-01
Due date:
% Done:

0%

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

Description

If a file in uploads/ folder is missing, but referenced in a content element
a) PHP warning appears (and may break layout), if display_errors is enabled
b) no hint is given to the user

So add a check, weather the file really exists and output a warning otherwise.

(issue imported from #M12099)


Files

12099.diff (2.11 KB) 12099.diff Administrator Admin, 2009-10-01 22:42
before.png (3.44 KB) before.png Administrator Admin, 2009-10-01 22:43
after.png (3.35 KB) after.png Administrator Admin, 2009-10-01 22:43
12099_v2.diff (2.05 KB) 12099_v2.diff Administrator Admin, 2009-11-17 19:54

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #17321: filemtime() [function.filemtime]: stat failedClosed2007-05-22

Actions
Related to TYPO3 Core - Bug #19716: History/Undo not works on image elementsClosed2008-12-18

Actions
Actions #1

Updated by Ralf Hettinger about 15 years ago

this is a duplicate of #17321.
t3lib_FlashMessage? nice :)

Actions #2

Updated by Rupert Germann almost 15 years ago

committed v2 to trunk rev 6459

Actions

Also available in: Atom PDF