problem uploading image in chrono form

albicio 24 Jun, 2009
:(
Hi all
I,ve got a problem uploading file in ChronoForm for Joomla.
I made a form to enrole in a school and I need a photo to be uploaded.
All seem to work fine, I find the photo uploaded in my folder in the directory of my site,
but I can't find the file in attachment of my e-mail.
May you help me?

Thanks a lot
Alberto

The link of the enrole form is:
----------------------------------
http://www.ctpheine.it/index.php?option=com_chronocontact&Itemid=30
-------------------------------------------------
Code of the form that require a image to upload:
--------------------------------------------------
<div class="form_item">
<div class="form_element cf_fileupload">
<label class="cf_label">Allega il documento</label>
<input class="cf_fileinput cf_inputbox" title="" size="20" id="file_23"

name="filedoc_allegato" type="file" />
<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">Allega il documento :: Il documento

può essere in formato : jpg, gif, doc, pdf o zip, Non sono ammessi documenti più grandi di

1.5 Megabyte</div>
</div>
<div class="clear"> </div>
</div>

------------------------------------
The code of the Debug result is:
--------------------------------------

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 ( [cognome] => trest [nome] => test [sesso] => Maschio [citta] =>

[stato] => [data_nascita] => [cittadinanza] => [via] => [cap] => [citta_residenza] =>

[presso] => [tel] => 0265756757 [cellulare] => [anno_ingresso] => [documento] => Carta

D'Identità [corso_01] => Licenza Media [sede_corso01] => Via Heine [corso_02] =>
😟
[sede_corso02] => [corso_03] => [sede_corso03] => [cond_lavoro] => [titolo_studio] =>

[conseguito_in] => [fascia_oraria] => [radio0] => Si [radio1] => Si

[12b167ea6f59628184e340df8bcb0146] => 1 )
6. $_FILES Array: Array ( [filedoc_allegato] => Array ( [name] => DSC_0054.jpg [type] =>

image/jpeg [tmp_name] => /tmp/phpSHNtbc [error] => 0 [size] => 213631 ) )
7. Form passed the plugins step (if enabled) OK
8. Debug End
9.
Redirect link set, click to test:
index.php?option=com_content&view=article&id=142
Max_admin 25 Jun, 2009
Hi Albicio,

is this all the debug message ? and is this the latest release ? because it should tell you the file was uploaded or was not uploaded in the debug!

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
albicio 28 Jun, 2009
Ok thanks for the answer.
I try again to enrole and I paste in the following line the result of the debug that I find in my page after the submit:
++++++++++++++++++++++++++++++++++++++++++
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 ( [cognome] => test [nome] => test [sesso] => Maschio [citta] => [stato] => [data_nascita] => [cittadinanza] => [via] => [cap] => [citta_residenza] => [presso] => [tel] => 0246546465 [cellulare] => [anno_ingresso] => [documento] => Carta D'Identità [corso_01] => Licenza Media [sede_corso01] => Via Heine [corso_02] => [sede_corso02] => [corso_03] => [sede_corso03] => [cond_lavoro] => [titolo_studio] => [conseguito_in] => [fascia_oraria] => [radio0] => Si [radio1] => Si [a6c8cb5cf912f46b2cf992fdfe399a02] => 1 )
6. $_FILES Array: Array ( [file_1] => Array ( [name] => lowres.jpg [type] => image/jpeg [tmp_name] => /tmp/php3tVfLn [error] => 0 [size] => 228631 ) )
7. Form passed the plugins step (if enabled) OK
8. Debug End
9.
Redirect link set, click to test:
index.php?option=com_content&view=article&id=142
++++++++++++++++++++++++++++++++++++
That's all
The version I use is ChronoForms_V3.1_RC4.11

Thanks again for your atention
Alberto
Max_admin 28 Jun, 2009
Hi Alberto, please upgrade to RC5.1 first, this is easy!

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
albicio 29 Jun, 2009
ok
I install the new version 3.1_RC5.1 but the problem is the same.
Here the code of the debug:
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 ( [cognome] => test [nome] => test [sesso] => Maschio [citta] => [stato] => [data_nascita] => [cittadinanza] => [via] => [cap] => [citta_residenza] => [presso] => [tel] => 54353535 [cellulare] => [anno_ingresso] => [documento] => Carta D'Identità [corso_01] => Attualità [sede_corso01] => Via Heine [corso_02] => [sede_corso02] => [corso_03] => [sede_corso03] => [cond_lavoro] => [titolo_studio] => [conseguito_in] => [fascia_oraria] => [radio0] => Si [radio1] => Si [6e50f1d81476d4079c7023ddcffa2343] => 1 [1cf1] => a409ee1cff2ee73d7f369f2a4a35bf2a [chronoformname] => scheda_iscrizione )
6. $_FILES Array: Array ( [file_1] => Array ( [name] => lowres.jpg [type] => image/jpeg [tmp_name] => /tmp/phpdigDh9 [error] => 0 [size] => 228631 ) )
7. Form passed the plugins step (if enabled) OK
8. Debug End
9.
Redirect link set, click to test:
index.php?option=com_content&view=article&id=142

Can someone help me???
Thanks a lot
Alberto
Max_admin 30 Jun, 2009
Please show me a screenshot for you uploads tab, do you have "Enable attachments" set to yes in this email under the setup emails tab ? show me a screenshot from there too!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
albicio 10 Jul, 2009
In the attachment you may find my upload tab
thanks
Alberto[attachment=0]upload tab.jpg[/attachment]
This topic is locked and no more replies can be posted.