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

Rupert Germann rupi at gmx.li
Tue Nov 17 19:53:57 CET 2009


FYI: committed v2 to trunk rev 6459

greets
rupert


Steffen Gebert schrieb:
> 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
> 
> 
> ------------------------------------------------------------------------
> 


More information about the TYPO3-team-core mailing list