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 11280 posts 23678 karma points MVP 11x 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

  • Comment author was deleted

    Aug 23, 2013 @ 08:06

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

    How does the form tag look on your template?

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x 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

  • Comment author was deleted

    Aug 26, 2013 @ 09:22

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

Please Sign in or register to post replies

Write your reply to:

Draft