Hello,
Thank you so much for providing ChronoForms. This is a very valuable extension for me.
I am attempting to use a file upload with my form and send it as an attachment in an email.
My result is that the email comes without any attachment. I also do not get any files uploaded to my directory of: components/com_chronocontact/uploads/oregonapp
I followed the tutorial (#6 Adding file upload to a form). I need help. Can someone please review my settings and advise?
Many Thanks in advance.
kevin
Here are my settings:
Joomla 1.5.10
Chrono Contact 3.1 RC5
Form url: http://missoregonusa.com/mo/how-to-apply/pre-application.html
Form Code:
Enable uploads: Yes
Field names & allowed Extensions & sizes(KB) for each: file_1:jpg|pdf{1000-1}
Full upload Path: /hsphere/local/home/c253220/missoregonusa.com/mo/components/com_chronocontact/uploads/oregonapp/ (this directory is Writable)
Debug Output:
[quote]
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 ( [check0] => Array ( [0] => MISS OREGON USA (I am at least 18 but under 27 on 2/1/10) ) [name] => Kevin [birthday] => [age] => [address] => [citystatezip] => [email] => [email]kevin@31361.com[/email] [homephone] => [cellphone] => [height] => [weight] => [eyes] => [hair] => [address2] => [chrono_verification] => zex8c [button_20] => Submit [d5dd8f9b1523ecf26ec95f6fd7536d02] => 1 )
6. $_FILES Array: Array ( [photo] => Array ( [name] => carolBertLowRez.jpg [type] => image/jpeg [tmp_name] => /tmp/php4rLnl5 [error] => 0 [size] => 22660 ) )
7. Form passed the plugins step (if enabled) OK
8. An email has been SENT successfully from (ABC Enterprizes)kdbates@gmail.com to [email]kdbates@gmail.com[/email]
9. Debug End
10.
Redirect link set, click to test:
http://missoregonusa.com/mo/how-to-apply/6-apply-on-line/15-thank-you.html
[/quote]
Thank you so much for providing ChronoForms. This is a very valuable extension for me.
I am attempting to use a file upload with my form and send it as an attachment in an email.
My result is that the email comes without any attachment. I also do not get any files uploaded to my directory of: components/com_chronocontact/uploads/oregonapp
I followed the tutorial (#6 Adding file upload to a form). I need help. Can someone please review my settings and advise?
Many Thanks in advance.
kevin
Here are my settings:
Joomla 1.5.10
Chrono Contact 3.1 RC5
Form url: http://missoregonusa.com/mo/how-to-apply/pre-application.html
Form Code:
<div class="form_item">
<div class="form_element cf_fileupload">
<label class="cf_label" style="width: 150px;">Recent Photo:</label>
<input class="cf_fileinput cf_inputbox" title="" size="20" id="file_18" name="photo" type="file" />
</div>
<div class="cfclear"> </div>
</div>
Enable uploads: Yes
Field names & allowed Extensions & sizes(KB) for each: file_1:jpg|pdf{1000-1}
Full upload Path: /hsphere/local/home/c253220/missoregonusa.com/mo/components/com_chronocontact/uploads/oregonapp/ (this directory is Writable)
Debug Output:
[quote]
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 ( [check0] => Array ( [0] => MISS OREGON USA (I am at least 18 but under 27 on 2/1/10) ) [name] => Kevin [birthday] => [age] => [address] => [citystatezip] => [email] => [email]kevin@31361.com[/email] [homephone] => [cellphone] => [height] => [weight] => [eyes] => [hair] => [address2] => [chrono_verification] => zex8c [button_20] => Submit [d5dd8f9b1523ecf26ec95f6fd7536d02] => 1 )
6. $_FILES Array: Array ( [photo] => Array ( [name] => carolBertLowRez.jpg [type] => image/jpeg [tmp_name] => /tmp/php4rLnl5 [error] => 0 [size] => 22660 ) )
7. Form passed the plugins step (if enabled) OK
8. An email has been SENT successfully from (ABC Enterprizes)kdbates@gmail.com to [email]kdbates@gmail.com[/email]
9. Debug End
10.
Redirect link set, click to test:
http://missoregonusa.com/mo/how-to-apply/6-apply-on-line/15-thank-you.html
[/quote]
Hi kdbates,
The name in your file input is 'photo' and the name in the File Uploads tab is 'file_1'; these need to be the same (and it's probably worth having the id match too).
Bob
The name in your file input is 'photo' and the name in the File Uploads tab is 'file_1'; these need to be the same (and it's probably worth having the id match too).
Bob
This topic is locked and no more replies can be posted.