Project

General

Profile

Actions

Bug #49458

closed

Task #49162: Rewrite install tool

SystemEnvironmentCheck fails with undefined function imageftbbox

Added by Alexander Schnitzler over 11 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Install Tool
Target version:
Start date:
2013-06-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.5
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Running the environment check without having the function imageftbbox enabled an Exception occurs that is even suppressed by using @imageftbbox. Therefore the whole page is just white.

Removing the @, the following Exception is shown:

 Fatal error: Call to undefined function TYPO3\CMS\Install\SystemEnvironment\imageftbbox() in /vagrant/src/typo3_src/typo3/sysext/install/Classes/SystemEnvironment/Check.php on line 1073

A solution would be to check if the method is available via function_exists.

I could also provide a patch but I am unsure about the message that should be displayed to the user.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #49460: Install Tool fails to test for required modules early in the processClosed2013-06-26

Actions
Actions #1

Updated by Christian Kuhn over 11 years ago

  • Parent task set to #49162
Actions #2

Updated by Christian Kuhn over 11 years ago

yes, should be fixed. check with method_exists first and return errorStatus if method is not there.

Actions #3

Updated by Gerrit Code Review over 11 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21783

Actions #4

Updated by Gerrit Code Review over 11 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/21783

Actions #5

Updated by Christian Kuhn over 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF