Project

General

Profile

Actions

Bug #49460

closed

Task #49162: Rewrite install tool

Install Tool fails to test for required modules early in the process

Added by Jigal van Hemert over 11 years ago. Updated about 6 years ago.

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

100%

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

Description

In previous branches the Install Tool had an early check for the required PHP modules. If this check failed the process was stopped because continuing would result in strange error messages or blank pages.
The check for required modules is now a "normal" check. The Install Tool uses functions from these required modules (already in the bootstrap (autoloader)) without checking if the modules are loaded.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #49458: SystemEnvironmentCheck fails with undefined function imageftbboxClosed2013-06-26

Actions
Actions #1

Updated by Christian Kuhn over 11 years ago

The system environment check already has a check for required modules and tests for them. #49458 is clearly a bug and should be fixed by checking for existing method name and otherwise throwing an error status.

Actions #2

Updated by Jigal van Hemert over 11 years ago

The normal check for the required modules is just too late in the process. There is already a lot of functionality from these modules used before this check. It isn't practical to check for each function from these modules.

Actions #3

Updated by Christian Kuhn over 11 years ago

Hmm, what exactly do you mean? You mention the autoloader using additional php modules, but I can not really find any php module specific code in there. As far as I can see, the environment check class is the first class within the installation process that actually tests for things and checks modules. Method calls in there can be sanitized with function_exist pretty easily.
Even if you have a stripped php environment without many modules, the first step should already come up successfully. The only requirement I can see here is a hard requirement for php 5.3, or you will already fail in the entry script on the first '\' during compile time.

Actions #4

Updated by Christian Kuhn over 11 years ago

  • Status changed from New to Resolved

As discussed with Jigal I see currently no need to add further php extension related code to the install tool in front of the system environment check. If specific issues pop up in this area, we should open new issues to tackle concrete problems.

Actions #5

Updated by Christian Kuhn over 11 years ago

  • % Done changed from 0 to 100
Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF