Bug #95848
closedResourceCompressor can't deal with paths relative to docroot (Reoccurrence)
0%
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
Updated by Markus Klein over 2 years ago
- Related to Bug #97936: Resource concatenation/compression breaks horizontal scalability added
Updated by Markus Klein over 2 years ago
- Related to Bug #90689: ResourceCompressor can't deal with paths relative to docroot (Reoccurrence) added
Updated by Markus Klein over 2 years ago
- Related to Bug #82863: ResourceCompressor can't deal with paths relative to docroot added
Updated by Markus Klein over 2 years ago
- Related to Bug #78803: ResourceCompressor can't deal with paths relative to docroot added
Updated by Markus Klein over 2 years ago
- Status changed from New to Needs Feedback
Thanks for the report. Could you please add some more details on your concrete use case and which files can not be loaded?
We need to be able to set up an instance to reproduce the problem.
Updated by Benni Mack 5 months ago
- Status changed from Needs Feedback to Closed
Hey,
I'm closing this ticket due to lack of feedback for the past 24 months. If you feel this is the wrong decision, let me know and I will re-open the ticket.