Forums

Chronoform 'upload file'

shofman83 12 Dec, 2008
Hello everybody.

I'm new on this forum and I have a question which I can't be resolved with the Dutch forums.

I'm using chronoforms V3.0 with Joomla 1.5.8.

The 'upload file' is working perfectly if you upload a file from Firefox, but if you upload a file from Internet Explorer the file never arrives in the mailbox.
It's very frustrating, because most people work witg Internet Explorer. ( too bad :? )

I've tested this with the same filesize, it's works in FI but not in IE...

What can I do??

Regards Sandra
GreyHead 12 Dec, 2008
Hi Sandra,

I remember someone else posting that there was a similar problem with IE uploads when there where spaces in the file name/path (I think that was the problem, maybe special characters too?).

Bob
Max_admin 12 Dec, 2008
Hi Sandra,

check Bob's suggestion and also check you have the "enctype" in the "form tag attachment" field, one of them will fix it for sure!

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
shofman83 12 Dec, 2008
Hi Bob,

I've tested this with a simple .doc document ( test.doc ).

The same story here: it works perfectly in FI, but nothing in IE 😟

Hi Max,

I will now check the enctype. I saw that the 'form tag attachment' was empty.
Do I just put here 'enctype'?

Thanks for helping me. 😀

Regards,

Sandra
GreyHead 12 Dec, 2008
Hi Sandra,

You need enctype='multipart/form-data' in the form tag attachment box.

Bob
shofman83 12 Dec, 2008
Heeij 😀

It works!!
I've put enctype='multipart/form-data' in the form tag attachment box.

Thanks!
denwood 11 Mar, 2009
Can anyone tell me how to do this using Dreamweaver CS3 as my editor. I typically copy the code and paste it in the chronoform html box and it all works. Something is not working when I try to use the upload file attachment. Maybe I am doing it wrong in Dreamweaver.

Any ideas?
GreyHead 11 Mar, 2009
Hi denwood,

Please check the File Uploads tutorial from the downloads area here, there are a couple of other steps that you may need to take.

Bob
denwood 15 Mar, 2009
Thanks GreyHead!

This was a very worthwhile purchase. The forms work flawlessly! The above solutions work just like your tutorial. I just couldn't get my head around where the form tag attachment box was located... I kept trying to find it in Dreamweaver.

Thanks again!
cloclo 15 Nov, 2010
Hello,

English is not my language, sorry about that

I have another problem,

The last uploaded file is not attached to the mail and its name is not stored in the datatabse.

I have tried with 4 uploads and than 3 uploads. For the first case: 3 uploaded files only and for the second: 2 uploaded files only.

When debug is on, everything seems ok. See below:

1. Form passed first SPAM check OK
2. Form passed the submissions limit (if enabled) OK
3. Form passed the Image verification (if enabled) OK
4. Form passed the server side validation (if enabled) OK
5. $_POST Array: Array ( [nom] => Tchesse[prenom] => Jean [adresse] => Clos des boutures[cp] => 1000 [ville] => Bru [telephone] => 035254152 [email] => [email]test@hotmail.com[/email] [radio0] => masculin [coul_cheveux] => brun [coul_peau] => bleue [taille] => 178 [poids] => 52 [profession] => rien [date_nais] => 28/10/1951 [pays_nais] => belgique [radio1] => néerlandais [radio2] => approfondie [radio20] => non [check4] => Array ( [0] => chef de choeur ) [check5] => Array ( [0] => ténor ) [check6] => Array ( [0] => danse classique ) [check7] => Array ( [0] => direction d'orchestre ) [check9] => Array ( [0] => coiffeuse ) [check8] => Array ( [0] => Conservatoire ) [info] => ceci est mon texte [chrono_verification] => f8qgr [button_0] => Envoyer [7797cfbdc06881330d6ac1c86a85ea2f] => 1 [1cf1] => f8f3b59decd4e32beef1a2c33e4e5712 [chronoformname] => casting )
6. $_FILES Array: Array ( [photoi] => Array ( [name] => articles.jpg [type] => image/jpeg [tmp_name] => /customers/ita.be/ita.be/tmp/phpaIPKSw [error] => 0 [size] => 4569 ) [photop] => Array ( [name] => clock.jpg [type] => image/jpeg [tmp_name] => /customers/ita.be/ita.be/tmp/phpOmCacX [error] => 0 [size] => 4995 ) [cv] => Array ( [name] => brochure.pdf [type] => application/pdf [tmp_name] => /customers/ita.be/ita.be/tmp/phpIpbDAu [error] => 0 [size] => 15456 ) )
7. Upload routine started for file upload by : photoi
8. /customers/ita.be/ita.be/httpd.www/components/com_chronocontact/uploads/casting/28/10/1951_articles.jpg has been uploaded OK
9. Upload routine started for file upload by : photop
10. /customers/ita.be/ita.be/httpd.www/components/com_chronocontact/uploads/casting/28/10/1951_clock.jpg has been uploaded OK
11. Form passed the plugins step (if enabled) OK
12. An email has been SENT successfully from (Tchesse)test@hotmail.com to [email]test2@hotmail.com[/email]
13. Debug End


brochure.pdf is not attached and not in database...

Thanks for prompts reply
GreyHead 17 Nov, 2010
Hi cloclo,

The uploads should work OK. Please wil you post a screenshot of the File Uploads tab so that I can take a look?

Bob
cloclo 18 Nov, 2010
Hello Bob,

Is that what you want?
I must say that the fields are well created in the database but the fild for the cv file is empty in the db and the file itself not attached to the mail and not in the folder.😢
Thanks for your help.

Cloclo



<table align ="center" width = "100%" border = "1">
<tr><td>
<div class="form_item">
<div class="form_element cf_fileupload">
<label class="cf_label" >Photo d'identité *</label>
<input class="cf_fileinput cf_inputbox required" title="" size="20" id="file_26" name="photoi" type="file" />
<a class="tooltiplink" onclick="return false;"><img height="16" border="0" width="16" class="tooltipimg" alt="" src="components/com_chronocontact/css/images/tooltip.png"/></a>
<div class="tooltipdiv">Photo d'identité :: jpg, 100Ko max</div>
</div>

</div>
</td><td>
<div class="form_item">
<div class="form_element cf_fileupload">
<label class="cf_label" >Photo en pied *</label>
<input class="cf_fileinput cf_inputbox required" title="" size="20" id="file_25" name="photop" type="file" />
<a class="tooltiplink" onclick="return false;"><img height="16" border="0" width="16" class="tooltipimg" alt="" src="components/com_chronocontact/css/images/tooltip.png"/></a>
<div class="tooltipdiv">Photo en pied :: jpg, 100Ko max</div>
</div>

</div>
</td><td>
<div class="form_item">
<div class="form_element cf_fileupload">
<label class="cf_label" >CV *</label>
<input class="cf_fileinput cf_inputbox required" title="" size="20" id="file_27" name="cv" type="file" />
<a class="tooltiplink" onclick="return false;"><img height="16" border="0" width="16" class="tooltipimg" alt="" src="components/com_chronocontact/css/images/tooltip.png"/></a>
<div class="tooltipdiv">CV :: pdf, 100Ko max</div>
</div>

</div>
</td></tr></table>
GreyHead 18 Nov, 2010
Hi cloclo,

Is this the latest ChronoForms version 3.2?

If so there's a bug in the File upload code. Please see this post.

Bob
cloclo 19 Nov, 2010
No it's 3.1

Shall I try to replace chronoformsuploads.php with file posted for 3.2?

Thanks
GreyHead 19 Nov, 2010
Hi cloclo,

No - the file in 3.1 is OK, the bug is only in the 3.2 version.

Please will you open the Form Editor by clicking the Form Title link in the Forms Manager. Then click the File Uploads tab and take a Screen shot of the settings. See the example below.

Bob
This topic is locked and no more replies can be posted.