Project

General

Profile

Actions

Bug #38472

closed

Remove HTML in RuntimeException from sysext 'install'

Added by Simon Schick over 12 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2012-06-29
Due date:
% Done:

100%

Estimated time:
0.25 h
TYPO3 Version:
6.0
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hi, all

I tried out the latest Alpha and since I have not installed the gd-extension for PHP I got an error for that.

The text of this error looked like this (that's what I got in the browser):

#1294587482: TYPO3 Installation Error: The following PHP module(s) is/are missing: <em>gd</em><br /><br />You need to install and enable these modules first to be able to install TYPO3. (More information)

What I want you to do:
Please remove the HTML-tags like em and br in the exception-message in /typo3/sysext/install/mod/class.tx_install.php in (the code I have it's) line 203

Actions #1

Updated by Philipp Gampe over 12 years ago

Just place the <em> tags with double quotes and the <br> tags with real linefeeds (LN).

Actions #2

Updated by Gerrit Code Review over 12 years ago

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

Actions #3

Updated by Philipp Gampe over 12 years ago

Please move this to normal core tracker as this affects all branches from 4.5 upwards and has nothing to do with the bootstrap refactoring.

Actions #4

Updated by Simon Schick over 12 years ago

@Philipp:

The exception-message can contain a list of missing plugins ...

So the message you get may look like this after applying your patch if the extensions foo and bar are missing:

#1294587482: TYPO3 Installation Error: The following PHP module(s) is/are missing: "foo, bar" You need to install and enable these modules first to be able to install TYPO3. (More information)

I think the implode() function has to be updated as well, that every extension-name is surrounded by quotation marks.

Actions #5

Updated by Philipp Gampe over 12 years ago

I am aware of this. To me it does not matter ... please post your review to gerrit too. That way, others do overlook your comment. You can use your normal T3o login details to long in review.typo3.org.

Actions #6

Updated by Helmut Hummel over 12 years ago

  • Project changed from 1856 to TYPO3 Core
Actions #7

Updated by Helmut Hummel over 12 years ago

  • Target version set to 6.0.0-alpha3
Actions #8

Updated by Gerrit Code Review about 12 years ago

  • Status changed from New to Under Review

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

Actions #9

Updated by Gerrit Code Review almost 12 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12477

Actions #10

Updated by Gerrit Code Review almost 12 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12477

Actions #11

Updated by Gerrit Code Review almost 12 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/12477

Actions #12

Updated by Gerrit Code Review almost 12 years ago

Patch set 1 for branch TYPO3_6-0 has been pushed to the review server.
It is available at http://review.typo3.org/17004

Actions #13

Updated by Gerrit Code Review almost 12 years ago

Patch set 1 for branch TYPO3_4-7 has been pushed to the review server.
It is available at http://review.typo3.org/17005

Actions #14

Updated by Gerrit Code Review almost 12 years ago

Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/17006

Actions #15

Updated by Gerrit Code Review almost 12 years ago

Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/17007

Actions #16

Updated by Philipp Gampe almost 12 years ago

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

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF