[TYPO3-core] RFC: Bug 6103: EM diplays only a white page when something is wrong

Franz Holzinger franz at fholzinger.com
Wed Aug 22 08:50:36 CEST 2007


This is a SVN patch request. 

Type: New feature 

Description:
When something is wrong then TYPO3 happens to end up in a 'TYPO3 Fatal 
Error: Extension key ...' message. It gives no hint about the reason which 
lead to this blocker. 

http://bugs.typo3.org/view.php?id=6103 

Detailed:
Sometimes an extension relies on another extension to be installed. But due 
to bugs anywhere in the code the other extension happens to be not 
installed. Then you get a TYPO3 Fatal error message and the frontend and the 
backend are blocked and unusable. Therefore it would help very much to have 
detailed listing for the TYPO3 admin to find about the reason of this error 
very quickly. No details will still be given if SYS.displayErrors = -1 or 0.
And there might also be some directories under typo3conf/ext which do not 
contain a file ext_emconf.php. These directories contain wrong extensions 
which could lead to errors hard to find later. So it would be fine to give a 
debug warning message in the EM. Otherwise these directories do not belong 
here.
This would help to save a lot of time of investigations about the reason of 
this fatal error. 

Solution:
A new function displayErrors in t3lib_extMgm displays the back trace. This 
should be called before every die function in the EM. 

Branches: Trunk 4.2 

 - Franz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 6103.diff
Type: text/x-patch
Size: 2995 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20070822/93416059/attachment.bin 


More information about the TYPO3-team-core mailing list