Bug #17506
closed
EM diplays only a white page when something is wrong in an extension file
Added by Franz Holzinger over 17 years ago.
Updated about 7 years ago.
Category:
Extension Manager
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
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;
}
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
Patch set 1 of change I971da980ace41d91dc99f466f1eb137bb0a46add has been pushed to the review server.
It is available at http://review.typo3.org/2503
Patch set 2 of change I971da980ace41d91dc99f466f1eb137bb0a46add has been pushed to the review server.
It is available at http://review.typo3.org/2503
Patch set 1 of change I5dd67f1b486850ea1766dc8949b9541352632089 has been pushed to the review server.
It is available at http://review.typo3.org/2504
- Status changed from New to Resolved
- % Done changed from 0 to 100
- Assignee set to Steffen Gebert
- Target version changed from -1 to 4.5.4
- Status changed from Resolved to Closed
Also available in: Atom
PDF