File uploads not working

brocars 11 Jul, 2016
Hi

seem to be having problems with the file upload process again

Using v4.0.3 in joomla 3 at http://www.prioryfarmfishing.co.uk/demo/gallery/submit.html

I followed the same steps as before:

1 In the Form tag attachment, I entered enctype='multipart/form-data'
2. Added an "Upload files" event in the on-submit event (above email event) with img1:jpg-png-gif,img2:jpg-png-gif,img3:jpg-png-gif in the "fields configuration" field
3. In the "Attachments fields name" in the general tab in the email event I added "img1,img2,img3" (the field name of the file upload in the form)

the i,mages don;t upload to the chronoforms folders or attach to the email

Did I miss something obvious?

Paul
GreyHead 12 Jul, 2016
Hi Paul,

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

Note: if you are using the Easy Wizard you can turn on Debug on the Others tab in CFv4 or the Setup tab in CFv5.

Bob
brocars 13 Jul, 2016
Hi Bob

Many thanks. Here are the debugger results:

Data Array:

Array ( [chronoform] => gallery [event] => submit [name] => paul [email] => paul@xxxxxxxxx.com [comments] => ssssssssssss [chrono_verification] => hcaSv [submit] => Submit [3bd267735c6f57e171c7e2f793d4818a] => 1 [_PLUGINS_] => Array ( [upload_files] => Array ( ) ) )

Validation Errors:

Array ( )

Debug Data

Core Captcha
Passed the core captcha check!
email
3
Result
An email has been SENT successfully from (Priory Farm)paul@xxxxxxxxxx.com to paul@xxxxxxxxx.com
Body
Gallery pictures submitted from Priory Farm website

Name: paul
Email: paul@xxxxxxxx.com
Image 1: {img1}
Image 2: {img2}
Image 3: {img3}
Comments: ssssssssssss


Submitted by 82.8.176.84
Attachments
array ( )
redirect_user
redirect_user_target_url: http://www.prioryfarmfishing.co.uk/demo/thanks-gallery.html
Redirect URL (click to continue):
http://www.prioryfarmfishing.co.uk/demo/thanks-gallery.html
brocars 13 Jul, 2016
Hi Bob

think I have found the problem. It was to do with the minimum file size in the upload files settings.

Thanks for your help

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