Closed schuberttobias closed 3 years ago
I have solved this in the Typo3 backend. I added template "Google reCAPTCHA (v2/v3)" in Inlcudes -> "Include static (from extensions)" of my template. Now the form renders correctly with the captcha and no errors are displayed or logged. However, the user manual does not mention this step. Is it required?
Yes, it is necessary. It is not mentioned separately, because it is so common with extensions in general.
Describe the bug Typo3 loads jh_recaptcha fluid template files from the wrong path:
(...)typo3conf/ext/jh_captcha/Resources/Private/Powermail/Partials/Form/Field/JhCaptchaRecaptcha.html
(...)/typo3conf/ext/powermail/Resources/Private/Partials/Form/Field/JhCaptchaRecaptcha.html
Note that I used jh_recaptcha v3.0.3 and the issue is different from https://github.com/TehTux/jh_captcha/issues/10 .
Is this a configuration problem on my part or a bug?
To Reproduce Steps to reproduce the behavior:
Core: Exception handler (WEB): Uncaught TYPO3 Exception: #1225709595: The Fluid template files "/var/www/<removed by schuberttobias>/httpdocs/typo3conf/ext/powermail/Resources/Private/Partials/Form/Field/JhCaptchaRecaptcha.html", "/var/www/<removed by schuberttobias>/httpdocs/typo3conf/ext/powermail/Resources/Private/Partials/Form/Field/JhCaptchaRecaptcha" could not be loaded. | TYPO3Fluid\Fluid\View\Exception\InvalidTemplateResourceException thrown in file /var/www/<removed by schuberttobias>/typo3_src-9.5.19/vendor/typo3fluid/fluid/src/View/TemplatePaths.php in line 730. Requested URL: https://dev.<removed by schuberttobias>/kontakt.html
Expected behavior Steps 1-4 identical as above
Affected versions