Repository navigation
Asset field type in form throwing error #11823
Unanswered
twopiers
asked this question in
Troubleshooting
Replies: 4 comments
|
Are you using Statamic's form stuff? or your own form? |
0 replies
|
I'm using Statamic's form stuff. For reference, here is the field definition from the blueprint: and here is the antlers code to render the field: and here is the Request as shown on the error page: Really straightforward. Nothin' fancy. When rendered, the form tag does include the correct enctype and the field itself seems to be rendering as it should. I don't see anything out the ordinary. Thanks for the assist! |
0 replies
|
Let's see the html produced |
0 replies
|
Here is the opening form tag: and here is the file input: Let me know if this is what you're after. Again, thanks for taking a look at this. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hello,
Statamic: 4.41.0
PHP: 8.3.13
I have a simple job application form with an Asset field type for uploading a resume. On the front end, this is a simple file input field. Upon submission, I am getting this error:
Symfony \ Component \ HttpFoundation \ File \ Exception \ FileNotFoundException
The file "/private/var/tmp/phpmhvzmE" does not exist
As far as I know, this is all very straightforward stuff, which makes me think I'm doing something really dumb, but for the life of me I can't figure it out.
Any help or guidance would be really appreciated. Thank you!
All reactions