TYPO3: File Upload Error in front using upload_example extension - typo3

I have installed upload_example extension in TYPO3 7.6.11. 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.
I checked every configuration, everything is set. I stuck. I am new in typo3.
Can you help please?
Thank You

You can debug using debugutility inside initializeMethodAction(). I must be called in such case when model argument is not found.
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/

Related

TYPO3 v11: Form Configuration not loading

i set up a new TYPO3 project with the new version 11.
Since I need a form on one of my pages, I wanted to configure it within the form configuration. But if I click on "create new form" everything I get is a loading window.
Has anyone encountered the same error? I went through my error logs but couldn't find any errors there.
Thank you for your help!
This is a known bug that is fixed by the two patches linked in https://forge.typo3.org/issues/93168 . It will be included in the next release.

Getting error message using EXT:recaptcha and EXT:form in Typo3 8.7.9 in a custom template

im using the new EXT:form extension from Typo3 8. I put it in my own extension folder so i made a custom template for it. This works fine until the point i want to integrate Google recaptcha into it.
I want to use the EXT:recaptcha for this:
https://docs.typo3.org/typo3cms/extensions/recaptcha/Index.html
In the sample EXT:form layout the recaptcha works without problems. But when im switching back to my layout i get the following error message:
Oops, an error occurred! The validator preset identified by
"Recaptcha" could not be found, or the implementationClassName was not
specified.
What i have to do? Anyone has an idea?
I know this question is quite old, you probably found the solution already.
I'm quite sure you did not include the static template. After adding the recaptcha template to my root template the validator was available.

realurl prevar language and get parameter

I have a strange problem:
TYPO3 7.6 with realul 2.2.1
I got a page with a form. One field of the form gets prefilled via get-parameter (sysid=xxxxx).
The site is multilanguage: german->0, english->1, mapped via prevars '' and en.
When I call the page via www.domain.tld/form-page/?sysid=xxxxx I can fetch the get parameter and fill the field.
When I call the page via www.domain.tld/en/form-page/?sysid=xxxxx I get a 404. That's weired because www.domain.tld/en/form-page/ works without any problems.
I tried several settings (e.g. exclude sysid from chash generation) but nothing worked.
Any hints what I could do?
One additional note: the getvar links are not generated in TYPO3, the are called via barcodes.
I cannot reproduce your problem on the same versions of T3 and realurl.
And I guess (wild guess), it is not a realurl problem, but a TYPO3-core problem.
Could you try calling the page via:
www.domain.tld/index.php?id=XX&L=1&sysid=xxxxx
Furthermore investigate and tell us your settings of
[FE][pageNotFound_handling] and according (installtool/LocalConfiguration).
Nevermind. Error occured because I didn't adjust the realurl-setting for the domain after moving to live. Therefore automatic configuration took place and that didn't work. With manual conf it works.

Class 'kartik\base\InputWidget' not found

In my Yii2 apps I add extension select2, since composer not successfully downloaded all the needed librarys. So I do it manually but I have still have error. Any help is BIG THANKS.
Here is my error.
I think since you did it manually you
forgot to add this file: input widget file
or did not specify proper path to it.
Check these and come back if any issues prevail.And always try to use composer as it's better to solve composer errors than finding what is missing after doing the entire set up.Isn't it? ;)

Sample Component with Content Versioning from Joomla Site not working correctly

I was trying to restore a version of a content I am editing.
in my administrator/components/com_joomprosubs/tables/subscription.php
in the construct function I added this following line:
JObserverMapper::addObserverClassToClass('JTableObserverContenthistory',
'JoomprosubsTableSubscription', array('typeAlias' =>'com_joomprosubs.subscription'));
from what I have read in this link:
https://docs.joomla.org/Using_Content_History_in_your_Component
but when I try to restore a version, an error is displayed:
"Error restoring item version from history."
I have followed the procedures step by step from that link. The storing of content history works, the only problem is when I try to restore the older versions. I even downloaded the finished sample file on the link's above.
The error is being return due to the blank value of typeAlias. I don't know where I got it wrong. from the code that I added above, I have included the typeAlias with its corresponding value. The weird thing is, if my code above does not work, it would not been also able to store content history.
Has anybody tried adding versioning in their custom component in Joomla? Please leave your comments.
For now, I temporarily overridden the loadHistory function from the Base Class.
from there, i passed the alias as 'com_joomprosubs.subscription'. The restoring of version history is now working.
Is there a disadvantage in my resolution?