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
Appnitro Software Forums » MachForm 2
upload file problem
Started 2 years ago by susanfw | 5 posts |
-
Posted 2 years ago #
-
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 2 years ago # -
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.phpis there any your modified files in those list ?
MachForm Support
Posted 2 years ago # -
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 2 years ago # -
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 2 years ago #
Reply
You must log in to post.
