Project

General

Profile

Actions

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.

Status:
Closed
Priority:
Should have
Category:
Extension Manager
Target version:
Start date:
2007-08-08
Due date:
% Done:

100%

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

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

EM_error_info.diff (1.96 KB) EM_error_info.diff Administrator Admin, 2007-08-08 16:29
EM_error_info-1.diff (1.21 KB) EM_error_info-1.diff Administrator Admin, 2007-08-09 12:30
6103.diff (2.92 KB) 6103.diff Administrator Admin, 2007-08-22 08:31
6103-1.diff (3.21 KB) 6103-1.diff Administrator Admin, 2008-12-22 13:48

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #16135: Fatal error upon uninstallation of tt_productsClosedIngo Renner2007-08-01

Actions
Has duplicate TYPO3 Core - Bug #20951: Extension manager suppresses PHP-ErrorsClosed2009-08-28

Actions
Has duplicate TYPO3 Core - Bug #26247: Extension Manager blank if ext_emconf.php has errorsClosedSteffen Gebert2011-04-24

Actions
Actions #1

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;
}
Actions #2

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

Actions #3

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

Actions #4

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

Actions #5

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

Actions #6

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

Actions #7

Updated by Steffen Gebert over 13 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
Actions #8

Updated by Steffen Gebert over 13 years ago

  • Assignee set to Steffen Gebert
  • Target version changed from -1 to 4.5.4
Actions #9

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF