Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Aug 23, 2013 @ 07:14
    Jan Skovgaard
    0

    Upload file not working

    Hi guys

    I'm currently using version 1.1.13.2 of Contour and when I'm using the upload field to be able to have files attached to the form submission it's not really working.

    There is no usefull information in the umbracoLog table or in the log files.

    In the web.config maxRequestLength is set to 1048576 so that's not the issue either.

    When the form has been submitted I can't see the file in the "Entires" overview. I have checked /umbraco/plugins/umbracoContour/ folder and the "files" folder is empty.

    Am I missing some configuration of Contour somewhere? Any clues, tips and hints are appreciated.

    Cheers,
    Jan

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Aug 23, 2013 @ 08:06
    Tim Geyssens
    100

    It should just work out of the box, no extra config

    How does the form tag look on your template?

  • Jan Skovgaard 11258 posts 23500 karma points MVP 7x admin c-trib
    Aug 23, 2013 @ 19:04
    Jan Skovgaard
    0

    Doh!

    I totally missed the enctype attribute on the <form runat="server"> tag.

    Now it looks like this <form id="Form1" runat="server" enctype="multipart/form-data"> and it works!

    Thanks for the hint Tim :)

    /Jan

  • Tim Geyssens 6562 posts 15373 karma points MVP 2x c-trib
    Aug 26, 2013 @ 09:22
    Tim Geyssens
    0

    Great :) but strange that you need that I remember that it also worked without...

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies