简体   繁体   English

TYPO3:使用upload_example扩展在前面出现文件上传错误

[英]TYPO3: File Upload Error in front using upload_example extension

I have installed upload_example extension in TYPO3 7.6.11.我已经在 TYPO3 7.6.11 中安装了 upload_example 扩展。 It works very well from admin.它从管理员工作得很好。 However, when i try to submit form with images it throws the error: 1298012500: Required argument "newExample" is not set for Helhum\\UploadExample\\Controller\\ExampleController->create.但是,当我尝试提交带有图像的表单时,它会抛出错误:1298012500:未为 Helhum\\UploadExample\\Controller\\ExampleController->create 设置必需的参数“newExample”。

在此处输入图片说明

I checked every configuration, everything is set.我检查了每个配置,一切都设置好了。 I stuck.我卡住了。 I am new in typo3.我是typo3的新手。 Can you help please?你能帮忙吗? Thank You谢谢你

You can debug using debugutility inside initializeMethodAction().您可以在 initializeMethodAction() 中使用 debugutility 进行调试。 I must be called in such case when model argument is not found.在这种情况下,当找不到模型参数时,必须调用 I。

Or as a reference for file uploading you can refer this link.或者作为文件上传的参考,您可以参考此链接。 hopefully, it will help you http://blog.typo3servers.info/show/typo3-extbase-fal-image-upload/希望它会帮助你http://blog.typo3servers.info/show/typo3-extbase-fal-image-upload/

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

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