File Upload not attached on Form Submission (Any updates?)

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
JackOutoftheBox
Forum Members
Forum Members
Posts: 89
Joined: Thu Jan 25, 2007 8:05 pm

File Upload not attached on Form Submission (Any updates?)

Post by JackOutoftheBox »

I recently upgraded to CMS 1.2 for an issue I was having with the forum, and I was hoping it also might solve an issue I was having with the "file upload" feature in the form builder. It seems to have helped, but not corrected the problem.

I installed the most recent version of From Builder 0.4.4, and it kept my form. When, I tested it did not have the file attached.

Before, I was getting an "unspecified" message in the Photo Submission field, but now I'm getting the actual name of the file ... just not the file. Is there something else I need to do?

Below is the submission template I am using:

Code: Select all

<h1>Speaker Form Submission</h1>
<strong>Form Name</strong>: {$sub_form_name}<br />
<strong>Date of Submission</strong>: {$sub_date}<br />
<strong>Your server</strong>: {$sub_host}<br />
<strong>IP address of person using form</strong>: {$sub_source_ip}<br />
<strong>URL of page containing form</strong>: {$sub_url}<br />

<hr />

<strong>Your Name</strong>: {$fld_4}<br />
<strong>Title</strong>: {$fld_19}<br />
<strong>Company</strong>: {$fld_18}<br />
<strong>Email Address</strong>: {$fld_5}<br />
<strong>Website</strong>: {$fld_20}<br />
<strong>Bio / Topic Information</strong>: {$fld_7}<br />
<strong>Photo Submission</strong>: {$fld_21}<br />

Any assistance or direction is appreciated. I have searched the forum for similar issues and found many, but no solutions beyond trying to improve the module. Is that still being worked on?
Chris..S
Forum Members
Forum Members
Posts: 23
Joined: Thu Apr 20, 2006 5:23 pm

Re: File Upload not attached on Form Submission (Any updates?)

Post by Chris..S »

Are you using PHP4?

I had a similar problem using PHP4.  My correction to the missing attachments is:

classes/dispositionEmailBase.class.php
@156
- if( get_class($others[$i]) == 'fbFileUploadField' )
+ if( strtolower(get_class($others[$i])) == 'fbfileuploadfield' )

For the missing [unspecified] value when no file was supplied, my correction is:
@216
+        else
+        {
+        $replVal = $unspec;
+        }
JackOutoftheBox
Forum Members
Forum Members
Posts: 89
Joined: Thu Jan 25, 2007 8:05 pm

Re: File Upload not attached on Form Submission (Any updates?)

Post by JackOutoftheBox »

Thank you for responding! But, I'm not sure where I add that value? Can you further explain?
Post Reply

Return to “Modules/Add-Ons”