Project

General

Profile

Actions

Bug #78803

closed

ResourceCompressor can't deal with paths relative to docroot

Added by Markus Klein almost 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Content Rendering
Target version:
Start date:
2016-11-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
easy
Is Regression:
Yes
Sprint Focus:
Stabilization Sprint

Description

FormEngine adds absolute web paths to the array of CSS/JS files.
The ResourceCompressor fails to deal with them.

The bug appears once compression for BE is enabled and the instance is located in a subdirectory of docroot.

The error can be triggered by simply editing a content element, which includes an RTE.

PHP Warning: file_get_contents(/var/www/html/thesite/typo3//thesite/typo3/sysext/rtehtmlarea/Resources/Public/Css/Skin/jquery-ui-resizable.css): failed to open stream: No such file

Related issues 8 (0 open8 closed)

Related to TYPO3 Core - Bug #78490: file_get_contents fail prevents page tree to renderClosedNicole Cordes2016-10-28

Actions
Related to TYPO3 Core - Bug #78856: Page Tree is not loadedClosed2016-12-01

Actions
Related to TYPO3 Core - Bug #79218: ResourceCompressor.php PHP Warning: is_file(): open_basedir restriction in effectClosed2017-01-09

Actions
Related to TYPO3 Core - Bug #82863: ResourceCompressor can't deal with paths relative to docrootClosedMarkus Klein2017-10-26

Actions
Related to TYPO3 Core - Bug #95848: ResourceCompressor can't deal with paths relative to docroot (Reoccurrence)Closed2021-11-02

Actions
Has duplicate TYPO3 Core - Bug #78807: fresh installation 8.4.1 into subdirectory leads to semi-broken TYPO3Closed2016-11-26

Actions
Precedes TYPO3 Core - Bug #81115: TYPO3-Exception in BE-Log due to "PHP Warning: is_file(): open_basedir restriction in effect"Closed2016-11-282016-11-28

Actions
Precedes TYPO3 Core - Bug #81024: getFilenameFromMainDir() triggers PHP Warnings open_basedirClosedIan Solo2016-11-282016-11-28

Actions
Actions

Also available in: Atom PDF