Bug #78490
closedfile_get_contents fail prevents page tree to render
100%
Description
This bug report was sent to info@typo3.org by an anonymous person:
I have no Forge account and do not want to register, but since 8.4 (up to current master) I am getting the folliwng error in the backend:
Core: Error handler (BE): PHP Warning: file_get_contents(/var/www/test/typo3//test/typo3/sysext/backend/Resources/Public/JavaScript/extjs/components/pagetree/javascript/app.js): failed to open stream: No such file or directory in /var/www/test/typo3_src/typo3/sysext/core/Classes/Resource/ResourceCompressor.php line 285
This prevents the page tree from rendering because all the Javascript from loadorder.txt is missing.
The problem seems to be that an relativ path is concatenated to a absolute path. Probably related to making "EXT:" available in Backend modules.
Updated by Nicole Cordes about 8 years ago
- Status changed from New to Needs Feedback
Hi Peter,
Thank you for the bug report. Is there any way to get in contact with the author? There seems to be a problem with his/her folder structure and unless there are more information I fear there is nothing we can do to solve this issue. I had a look at there code there and it seems to work properly so far (for me).
Updated by Peter Kraume about 8 years ago
Hi Nicole, unfortunately there is no contact information available.
Updated by Malte Koitka about 8 years ago
Hey there, we're having the exact same problem. What I found out so far is that it is triggered due to TYPO3 8.4 being installed in a subdirectory e.g. dev.local/my-site/typo3
As reported some calculated filenames contain a redundant relative part thus cannot be found by the ResourceCompressor. Also, in the Install Tool the configuration preset "Live" has to be enabled. With "Debug" mode active the page tree strangely renders perfectly fine.
Updated by Nicole Cordes about 8 years ago
Malte Koitka wrote:
Hey there, we're having the exact same problem. What I found out so far is that it is triggered due to TYPO3 8.4 being installed in a subdirectory e.g. dev.local/my-site/typo3
Do you mean subdirectory (on hard drive) or do you refer to your domain?
Updated by Nicole Cordes about 8 years ago
- Status changed from Needs Feedback to Accepted
- Assignee set to Nicole Cordes
Hi Malte,
Thank you for the feedback. I'm finally able to reproduce this error and try to find the problem!
Updated by Malte Koitka about 8 years ago
Hi Nicole. Great, thanks for your effort!
Updated by Gerrit Code Review about 8 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/50475
Updated by Nicole Cordes about 8 years ago
Steps how to be able to reproduce the problem:
1. install TYPO3 sources within an existing document root (I used folder "t3" under localhost document root)
2. install TYPO3 using the existing domain + folder (in my case localhost/t3/)
3. go to install tool and make sure "live" preset is set
4. remove typo3temp/assets/compressed folder (just to be sure)
5. go to the page module
Expected result:
You should see an empty page tree
Actual result:
Nothing in the page tree frame is shown
Updated by Nicole Cordes about 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 3bce1c47f80b7fc9dcd8247767272afcd3942a18.