Actions
Bug #95848
closedResourceCompressor can't deal with paths relative to docroot (Reoccurrence)
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
-
Start date:
2021-11-02
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
10
PHP Version:
7.4
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:
Description
Everything have been working properly but started to use the form extension and notice this behavior since then.
We are having resources loading errors when compression is active on the backend, some files are not getting loaded resulting in a broken backend. When in debug mode, files are getting loaded properly since no compression occurs.
We have many docker composer instances running multiple sites using symlinks, as shown below.
Folder structure
root@8347040050b5:/var/www/html# ll total 0 drwxr-xr-x 1 www-data www-data 101 Nov 1 16:34 _instance lrwxrwxrwx 1 www-data www-data 16 Nov 1 20:09 toolbox-api_typo3-test-dev -> _instance/public lrwxrwxrwx 1 www-data www-data 16 Nov 1 20:09 typo3_test-belj1822 -> _instance/public lrwxrwxrwx 1 www-data www-data 16 Nov 1 20:09 typo3_test-dev -> _instance/public lrwxrwxrwx 1 www-data www-data 16 Nov 1 20:09 typo3_test-dev-institutionnel -> _instance/public lrwxrwxrwx 1 www-data www-data 16 Nov 1 20:09 typo3_test-petd2206-rename -> _instance/public lrwxrwxrwx 1 www-data www-data 16 Nov 1 20:09 typo3_test-petd2206-titre-4 -> _instance/public root@8347040050b5:/var/www/html# ll _instance/public/ total 8 drwxr-xr-x 11 www-data www-data 218 Nov 1 16:34 fileadmin -rw-r--r-- 1 www-data www-data 987 Nov 1 15:55 index.php drwxr-xr-x 1 www-data www-data 56 Nov 1 15:55 typo3 drwxr-xr-x 3 www-data www-data 107 Nov 1 16:34 typo3conf drwxr-xr-x 3 www-data www-data 4096 Nov 1 16:34 typo3temp drwxr-xr-x 2 www-data www-data 22 Mar 19 2021 uploads root@8347040050b5:/var/www/html#
Errors
Mon, 01 Nov 2021 20:22:17 -0400 [WARNING] request="01a90633219a8" component="TYPO3.CMS.Core.Error.ErrorHandler": Core: Error handler (BE): PHP Warning: file_get_contents(/var/www/html/_instance/public/typo3//MY_SITE_NAME/typo3/sysext/form/Resources/Public/Css/form.css): failed to open stream: No such file or directory in /var/www/html/_instance/public/typo3/sysext/core/Classes/Resource/ResourceCompressor.php line 284
Actions