Bug #38472
closed
Remove HTML in RuntimeException from sysext 'install'
Added by Simon Schick over 12 years ago.
Updated about 7 years ago.
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
Just place the <em>
tags with double quotes and the <br>
tags with real linefeeds (LN).
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.
@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.
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.
- Project changed from 1856 to TYPO3 Core
- Target version set to 6.0.0-alpha3
- Status changed from New to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF