Forums

IE file upload not working

dangrahn 01 Mar, 2009
Hi,

I am having a file upload in my form. This file upload works nice and smooth in e.g. Firefox, but bot on IE. Is there any known issues with file upload in IE?

This is what happens:

In Firefox the file is uploaded to the specified folder, user is passed to a "thank you" article and a record is added in the DB table (which I have configuerd). The filename that is stored for this file could look something like: dangrahn_etetete_20090301_logo_atlas.psd ( I have made some custom code to get these custom filenames). The form is also sending out two emails with info from the submission.

In IE the file isn't uploaded to the specified folder, but user is passed to a "thank you" article and a record is added in the DB table. The filename that is stored for this file instead looks like this:
C:\logo_atlas.psd. Seems like the renaming isn´t done and the file upload isn´t working either. However, a record is added to the DB table and the emails is sent.

So, what could be the problem here? Possible to make this work with IE?

/Daniel
GreyHead 01 Mar, 2009
Hi Daniel,

Do you have enctype="multipart/formdata" in the Form Tag Attachment box in the General Tab?

Bob
dangrahn 01 Mar, 2009
Now it works perfect! Thanks! (however, correct syntax is ENCTYPE="multipart/form-data")
GreyHead 01 Mar, 2009
Hi Daniel,

I'm glad it works - apologies for the typo, it's too late on Sunday evening :-(

Bob
reyman 02 Mar, 2009

Now it works perfect! Thanks! (however, correct syntax is ENCTYPE="multipart/form-data")


I'm using chronoforms v.3.1 rc2, afaik it can upload right out of the box..
GreyHead 02 Mar, 2009
Hi reyman,

ChronoForms tries to make the correct settings but this doesn't always work (especially with IE); adding the enctype usually fixes it.

Bob
Max_admin 02 Mar, 2009
Hi reyman,

in V3.1 RC2 this should work out of the box, are you sure you have V3.1 RC2 out of the box and new form created with it ?

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
pphfl 04 Mar, 2009
I to am not able to receive an uploaded document when send using IE.

Works with Safari and Firefox, I receive the attachment through email just fine. However, when using IE it will not attach the upload..

Fresh Install of RC2 and used the wizard when creating the form..
Max_admin 04 Mar, 2009
Hi pphfl,

then you need to add the enctype, I will check the issue myself, although a quick test here shows that it works just fine!

Cheers,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
pphfl 04 Mar, 2009
Admin,

Thank You for the fast reply.

I am using ENCTYPE="multipart/form-data" -- "UPDATE" - I left out one of the quotes, it's working now.


What's even more interesting is that when I use either Safari or Firefox I receive an email instantly, however when I use IE it takes on average 20 minutes.
Max_admin 05 Mar, 2009
no idea about the delay! try more than 1 time, is its the same result ?

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 05 Mar, 2009
Hi ppfhl,

There is no reason why one browser would take longer than another. The Joomla mailer doesn't even know which browser you are using.

Bob
pphfl 06 Mar, 2009
This is crap.. I'm just to ends with this

File is not attaching to email when using IE....... DOES NOT MAKE SENSE

I receive this

Appointment Reminder Upload
Send Time
1pm
Upload Appointment Reminders
NOFILE
Once uploaded the files will go out automatically
pphfl 06 Mar, 2009
<fieldset><div class="form_item">
  <div class="form_element cf_heading">
    <h4 class="cf_text">CA Appointment Reminder Upload</h4>
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_dropdown">
    <label class="cf_label">Send Time</label>
    <select class="cf_inputbox" id="select_1" size="1" {cf_multiple} name="select_1">
    <option value="">Choose Option</option>
      <option value="10am">10am</option>
<option value="11am">11am</option>
<option value="12pm">12pm</option>
<option value="1pm">1pm</option>
<option value="2pm">2pm</option>
<option value="3pm">3pm</option>
<option value="4pm">4pm</option>

    </select>
    <a class="tooltiplink" onclick="return false;"><img height="16" border="0" width="16" class="tooltipimg" src="components/com_chronocontact/css/images/tooltip.png"/></a>
				<div class="tooltipdiv">Send Time :: When to send the appointment reminders</div>
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_fileupload">
    <label class="cf_label">Upload Appointment Reminders</label>
    <input class="cf_fileinput" size="20" id="file_2" name="file_2" type="file" />
    
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_button">
    <input value="Submit" type="submit" />
  </div>
  <div class="clear"> </div>
</div>

<div class="form_item">
  <div class="form_element cf_text"> <span class="cf_text">Once uploaded the files will go out automatically</span> </div>
</fieldset>
Max_admin 06 Mar, 2009
Hi ppfhl,

you said before its working!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
pphfl 06 Mar, 2009
I thought it was because I received a email and opened my mouth before checking the attachment aspect.

I do receive the email submission, just not the attachment using IE6 or IE7

Can someone test this?

Its a XLS file
pphfl 07 Mar, 2009
Can someone please test this?
GreyHead 07 Mar, 2009
Hi pphfl,

Form upload does work on IE (even for xls files)

If you want the form tested on IE7[sendfb][/sendfb]
Bob
GreyHead 07 Mar, 2009
Hi pphfl,

Works Ok in IE7 with pdf & xls files - you need to add a minimum size limit though file_2:pdf|xml|csv|jpg|xls{500000-0} and 500Mb is a big file upload maximum.

Bob
pphfl 08 Mar, 2009
Hey Bob,

By not adding the minimum size limit was causing this issue? Is that confirmed?

Also, Can someone else try this on IE6 if available?
Max_admin 09 Mar, 2009
Hi pphfl,

not adding a minimum file size will make any kind of problem, you need to add it, did this fix your problem ?

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.