Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #285
    dan
    Participant

    “The profile pic must be a file of type: png, jpg, bmp, jpeg.”

    The error persists even though the file uploaded is in the right extension.

    Code:

    <form method=”POST” action=”” >
    @csrf
    @method(‘put’)
    … Form Markup
    </form>

    #286

    You forgot enctype=”multipart/form-data”

    <form method=”POST” action=”” enctype=”multipart/form-data” >
    @csrf
    @method(‘put’)
    … Form Markup
    </form>

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.