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

503 Could not read template file with given path and filename #156

Closed
PittRo opened this issue Dec 14, 2022 · 4 comments
Closed

503 Could not read template file with given path and filename #156

PittRo opened this issue Dec 14, 2022 · 4 comments

Comments

@PittRo
Copy link

PittRo commented Dec 14, 2022

Dear,

how i already mentioned here #153
the preview newsletter post does not work. Where can i debug this?
The request URL is https://DOMAIN.DE/typo3/ajax/luxletter/testMail?token=ae702b44bc630907335d903b17c2b8143884fb5d&origin=112&email=mail@mail.com&subject=&configuration=1&layout=B2BNlContainer

The ajax request https://DOMAIN/typo3/ajax/system-information/render?token=d5d478592d62317b7e691a0ef30bfd9ab35d00db&skipSessionUpdate=1 works fine

Typo3 11. 5.19

@einpraegsam
Copy link
Collaborator

Did you see my last comment in #153 ?

@PittRo
Copy link
Author

PittRo commented Dec 14, 2022

Dear einpraegsam,
Curl is not responsible we checked this out. I debuged already the request I mentioned above hangs up while
Line 80 in TestMail.php
$parseUrlService = GeneralUtility::makeInstance(NewsletterUrl::class, $origin, $layout, $language)
->setModeTestmail();

NewsletterUrl::class === In2code\Luxletter\Domain\Service\Parsing\NewsletterUrl at that point

furthermore i debuged at https://github.com/in2code-de/luxletter/blob/develop/Classes/Domain/Service/LayoutService.php#L79
$this->getLayoutPath() . $layout . '.html' is at that point wrong the output is EXT:luxletter/Resources/Private/Templates/Mail/B2BNlContainer.html
and not
EXT:sitepackage/Resources/Private/Templates/Mail/B2BNlContainer.html
how we configured in sitepackage > setup.typoscript and in root-template again, cause it do not work at only one place.
By the way we folowed the right oder of https://github.com/in2code-de/luxletter/blob/develop/Documentation/Installation/Index.md#typoscript and place even our sitepackage below

@julianhofmann
Copy link
Contributor

In general, this works, i.e. the issue could be closed.

To find a solution for you, it might be good if you show your configuration (or relevant sections). Because the cause of your problem seems to lie there.

@einpraegsam
Copy link
Collaborator

Thx for the Feedback

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

3 participants