Bug #17506
closedEM diplays only a white page when something is wrong in an extension file
100%
Description
When you have made a PHP error in an extension in the file ext_emconf.php then the EM does not inform you about this but just stops working.
It took me several hours to find out the reason why the EM suddenly did not work any more and displayed a white page only.
Solution:
Let the EM display a debug info and the PHP error message when a PHP error is in one of the installed extensions.
(issue imported from #M6103)
Files
Updated by Franz Holzinger about 16 years ago
One more issue:
Please remove the '@' before include($path) ! This costs so much time to find the reason for a only white page instead of the EM.
mod/tools/em/index.php:
function includeEMCONF($path,$_EXTKEY) {
include($path);
if(is_array($EM_CONF[$_EXTKEY])) {
return $this->fixEMCONF($EM_CONF[$_EXTKEY]);
}
return false;
}
Updated by Franz Holzinger over 15 years ago
This would help to save a lot of hours for investigations if you end up in an error message like
http://bugs.typo3.org/view.php?id=4977
http://bugs.typo3.org/view.php?id=5873
Updated by Franz Holzinger over 14 years ago
This error is still present in today's TYPO3 4.4. trunk.
You only get a blank page and no entries in the error_log file, if you have made a syntax error, e.g.
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /var/www/html/trunk/typo3/ext/sr_feuser_register/ext_emconf.php on line 48
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change I971da980ace41d91dc99f466f1eb137bb0a46add has been pushed to the review server.
It is available at http://review.typo3.org/2503
Updated by Mr. Hudson over 13 years ago
Patch set 2 of change I971da980ace41d91dc99f466f1eb137bb0a46add has been pushed to the review server.
It is available at http://review.typo3.org/2503
Updated by Mr. Hudson over 13 years ago
Patch set 1 of change I5dd67f1b486850ea1766dc8949b9541352632089 has been pushed to the review server.
It is available at http://review.typo3.org/2504
Updated by Steffen Gebert over 13 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset 37322ba88f0567d4e4dad4c7a77cfec4a0256e0c.
Updated by Steffen Gebert over 13 years ago
- Assignee set to Steffen Gebert
- Target version changed from -1 to 4.5.4
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed