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

upload file problem


  1. susanfw
    Member

    I have added an upload file field to my form. As I read in this forum, I changed the code in download.php to comment out:
    require('includes/check-session.php');
    so that my client wouldn't have to login to Machform to download the file.
    This works fine when testing the form using 'View Form' within Machform.
    But when the advanced code is used in the web page, the email received indicates a broken link when we try to download the form.
    Could I get a suggestion of how to fix this?
    Thank you.
    Susan

    Posted 15 years ago #
  2. susanfw
    Member

    I just saw that the problem will be fixed if I update to version 2.2. Will all of the changes that I made to the code be lost?

    Posted 15 years ago #
  3. redityo

    Yes... it will replace your modified files, but we have a partial patch to fix this problem and the file need to be updated are :

    - machform.php
    - helper-functions.php
    - entry-functions.php
    - post-functions.php

    is there any your modified files in those list ?


    MachForm Support

    Posted 15 years ago #
  4. susanfw
    Member

    Yes, unfortunately. I know I made changes to post-functions.php and help-functions.php. I don't think I did the other two. I downloaded version 2.2, but haven't installed it yet. Should I figure out what changes I made and make them on the new version and just upload those 4 files? Are the files in the partial patch the same as those in version 2.2?

    Posted 15 years ago #
  5. yuniar

    Yes, you will need to redo your changes to your post-functions and helper-functions file.
    I suggest to use this handy tool:
    http://winmerge.org/

    It will allows you to compare two files easily.


    MachForm Founder

    Posted 15 years ago #

RSS feed for this topic

Reply