Hi,
I am trying to use the file upload to allow a job applicant to upload a resume and another misc. file.
here is my form:
{exp:freeform:form form_name="jobs" onsubmit="return validate(this);" notify="email@awesome.com" return="jobs/thank-you" send_user_email="yes" user_email_template="job-thank-you" template="job-notify" file_upload ="resumes"}
<fieldset>
<label>First Name: </label>
<input type="text" name="firstname" value="" /><br/>
<label>Last Name: </label>
<input type="text" name="lastname" value="" /><br/>
<label>Phone Number: </label>
<input type="text" name="phone" value="" /><br/>
<label>Email: </label>
<input type="text" name="email" value="" /><br/>
<label>Applying For: </label>
<input type="text" name="job" id="job" value="<?= $_GET['job'] ?>" readonly /><br/>
<label>Upload Resume: </label>
<input type="file" name="file1" value="" /><br/>
<label>Upload Additional Attachment: </label>
<input type="file" name="file2" value="" /><br/>
<label> </label>
<input class="submit" type="submit" name="submit" value="Submit" />
</fieldset>
{/exp:freeform:form}
On submittal, I get this awesome error!
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@nomaco.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.0.54 Server at www.nomaco.com Port 80
I have checked the error logs and they are eerily empty....
I did some testing and spelunking and found the following:
Both files ARE making it into the resumes upload directory.
The entry IS showing up in the Freeform database.
ONLY “file1” is showing up as uploaded in the Freeform database.
On removing “file2” from the form, it works flawlessly.
Help?
Thanks!
