Bug #78490
closed
file_get_contents fail prevents page tree to render
Added by Peter Kraume about 8 years ago.
Updated about 6 years ago.
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.
- 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).
Hi Nicole, unfortunately there is no contact information available.
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.
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?
- 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!
Hi Nicole. Great, thanks for your effort!
- Status changed from Accepted to Under Review
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
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF