Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to render EXT:...images with fluid in backend context #59

Open
baschny opened this issue Dec 1, 2022 · 0 comments
Open

Not able to render EXT:...images with fluid in backend context #59

baschny opened this issue Dec 1, 2022 · 0 comments

Comments

@baschny
Copy link

baschny commented Dec 1, 2022

This is a similar issue than was already reported by @derhansen in #55.

We hit the same situation (also hard to figure out what the problem was) not in the Install Tool but by calling a scheduler task in the backend when having filefill enabled and a configured login.loginLogo. EXT:brofix's task tries to send an Email using FluidEmail. I end up with:

Execution of task "Execute console commands (scheduler)" failed with the following message:
PHP Warning: sha1_file(typo3conf/ext/sitepackage/Resources/Public/Icons/logo-sign.svg): failed to open stream:
No such file or directory in /app/html/typo3/sysext/core/Classes/Resource/Driver/LocalDriver.php line 751

Even more simple to reproduce. Add something like this to the fluid template of your Backend Module:

<f:image src="EXT:sitepackage/Resources/Public/Icons/logo.svg" absolute="1" alt="TYPO3 Logo" height="41" width="150" />

Seems like the FileFillDriver::getAbsolutePath misses prefixing a site prefix (absoluteBasePath = null for the "pseudo-storage = 0" in this situation).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant