in2code-de / luxletter

Newsletter system for TYPO3

Home Page:https://www.in2code.de/agentur/typo3-extensions/luxletter/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

503 Could not read template file with given path and filename

PittRo opened this issue · comments

Did you see my last comment in #153 ?

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

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.

Thx for the Feedback