Issue Bug Closed

#19184no error message if include file not found

H. Hahn 08/02/08, 11:10 updated 09/09/13, 09:44

Description

When I include a file with Typoscript (whether with xx = HTML/xx.file = …, or xx=PHPSCRIPT_EXT/xx.file=…, or whatever else) I never get an error message when the file is not found. Especially in new projects, or when adding a new include file, a simple typo in a file name or path name (e.g. a upppr/lower case error) is simply made. It will result in th efile not being found. It just “does not work”, and I may have to spend much time before I find the actual error.

QUESTION:
Why doesn’t the Typoscript implementation use the PHP function “require()” or something like that? The “include()” function does nit give error messages, but “require()” does.
It would be very helpful for web developers if you could change this!

(issue imported from #M9102)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.