简体   繁体   English

TYPO3 9.5 表单扩展:无法提交表单 - 散列错误

[英]TYPO3 9.5 Form Extension: Cannot submit Form - hash error

When i create a form with the new TYPO3 form extension I cannot submit any form.当我使用新的 TYPO3 表单扩展名创建表单时,我无法提交任何表单。 I get this error:我收到此错误:

[ALERT] request="d1d0c672bfd14" component="TYPO3.CMS.Frontend.ContentObject.Exception.ProductionExceptionHandler": Oops, an error occurred! Code: 20190110160255465e0dc7 - {"exception":"TYPO3\\\\CMS\\\\Extbase\\\\Security\\\\Exception\\\\InvalidArgumentForHashGenerationException: A hashed string must contain at least 40 characters, the given string was only 10 characters long.

Full Log: https://pastebin.com/QeHHp8Ei完整日志: https : //pastebin.com/QeHHp8Ei

I've followed the instructions from here: https://docs.typo3.org/typo3cms/extensions/form/QuickStart/Index.html我已经按照这里的说明操作: https : //docs.typo3.org/typo3cms/extensions/form/QuickStart/Index.html

Any help would be great.任何帮助都会很棒。 Otherwise I have to switch back to the legacy form extension.否则我必须切换回旧的表单扩展。

The 9.5.9 Version of the Typo3 built-in Form extension seemed buggy (maybe this affects other 9.5.x versions too). Typo3 内置表单扩展的 9.5.9 版本似乎有问题(也许这也会影响其他 9.5.x 版本)。 I guess the required actions haven't been made non-cachable in the plugin configuration.我想在插件配置中没有使所需的操作不可缓存。 I have replaced the forms directory in the sysext folder with a newer version (forms from Typo3 9.5.13), saved the form again, cleared all caches and now the extension works without the error for me.我已经用更新的版本(来自 Typo3 9.5.13 的表单)替换了 sysext 文件夹中的表单目录,再次保存了表单,清除了所有缓存,现在扩展程序对我来说没有错误。 Hope this helps anyone stuck at the same point.希望这可以帮助任何陷入同一点的人。

只需将此配置添加到TYPO3中的全局配置中:

[FE][pageNotFoundOnCHashError]= 0

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM