[TYPO3-core] RFC #12099: Replace "Warning: filemtime(): stat failed" with a nice error message

Steffen Gebert steffen at steffen-gebert.de
Thu Oct 1 22:46:26 CEST 2009


Hi,

This is an SVN patch request.

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=12099

Branches: trunk

Problem:
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

Solution:
Add a check, weather the file really exists and output a warning otherwise.

Notes:
This this doesn't compete with Rupert's error handler.

Regards
Steffen

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12099.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20091001/5bfc4796/attachment.txt 


More information about the TYPO3-team-core mailing list