This forum is no longer open and is for reading/searching only.

Please use our new MachForm Community Forum instead.

MachForm Community Forums » MachForm 2

Upoading in form


  1. croc
    Member

    Hello

    I created a form and added and upload field. When I fill out the form as a test all works well and I see the completion page. However, when I try to upload a file as part of the form ( about 15 megs - mp3) the form seems to be working to upload but after awhile it stops. The form remains filled in except the file upload information and the form completion page does not appear and nor can I find the form submission in the entries section.

    I have a dedicated server and this domain account has thousands of megs storage free.

    Thanks

    Posted 14 years ago #
  2. yuniar

    Is the PHP on your server running under Safe Mode? If so, you will need to turn it off first.

    If not, then most likely the php.ini setting doesn't allow uploading file that large. By default it would only allow 2MB each file. You will need to adjust your php.ini file to allow larger file upload.

    If you need further help on this, please contact us directly via email.


    MachForm Founder

    Posted 14 years ago #
  3. croc
    Member

    Hello

    I had the php.ini file changed to give me up to 64MB of memory upload. I tried to upload a file that was about 16 megs and the same issue occurred - the browser hung for about 10 minutes looking as if it was working and then the page reloaded empty and no submission was received. Along with fixing this issue would it be possible to show the status/progress of a file being uploaded in this form?

    Thanks

    Posted 14 years ago #
  4. croc
    Member

    Hello

    I seem to also have an issue with uploading jpg and gif files of any significant size

    Posted 14 years ago #
  5. yuniar

    Try to test uploading using small files, less than 1MB. Does it work?


    MachForm Founder

    Posted 14 years ago #
  6. croc
    Member

    Hello

    I tried a file that was about 1.5 meg and it uploaded fine. Then I tried one that was that was 5.5 megs. The second one took about 2 minutes but then the completion screen loaded but there was no file attached.

    Thanks

    Paul

    Posted 14 years ago #
  7. yuniar

    It looks like the upload was stopped due to other settings.
    Try to adjust your php.ini file and set these values:

    post_max_size = 70M
    upload_max_filesize = 80M
    max_execution_time = 599
    max_input_time = 599

    the values above are samples which should be enough to handle up to 70MB file size. You can make it higher as needed.


    MachForm Founder

    Posted 13 years ago #
  8. croc
    Member

    Hello

    Had host use your settings and all is well

    Thanks!

    Posted 13 years ago #

RSS feed for this topic

Reply