Project

General

Profile

Actions

Bug #19184

closed

no error message if include file not found

Added by H. Hahn almost 16 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2008-08-02
Due date:
% Done:

0%

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

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)

Actions

Also available in: Atom PDF