Hello
I'm trying to understand how chronoform works. I'm beginner with ChronoForms. I created a form:
name, ,e-mail, upload file, comments, submit
I tried to set up as well as possible, I get an error:
Warning: explode() [function.explode]: Empty delimiter in /home/xxxxxxx/administrator/components/com_chronoforms5/chronoforms/actions/file_upload/file_upload.php on line 78
Warning: Invalid argument supplied for foreach() in /home/xxxxxx/administrator/components/com_chronoforms5/chronoforms/actions/file_upload/file_upload.php on line 80
Merci pour votre trajet , votre message a été envoyé,
thanks for your help
I'm trying to understand how chronoform works. I'm beginner with ChronoForms. I created a form:
name, ,e-mail, upload file, comments, submit
I tried to set up as well as possible, I get an error:
Warning: explode() [function.explode]: Empty delimiter in /home/xxxxxxx/administrator/components/com_chronoforms5/chronoforms/actions/file_upload/file_upload.php on line 78
Warning: Invalid argument supplied for foreach() in /home/xxxxxx/administrator/components/com_chronoforms5/chronoforms/actions/file_upload/file_upload.php on line 80
Merci pour votre trajet , votre message a été envoyé,
thanks for your help
Hi nick,
Did you delete the delimiter/separator in the file uploads action ? it should be set to "-"
Regards,
Max
Did you delete the delimiter/separator in the file uploads action ? it should be set to "-"
Regards,
Max
Hello,
Thank for your answer . After some time I found this option it is ok now . no error
For test, I send an email to myself with an attached file and comments. When I received the email there was only name et email information. No comments no file...
Thank for your answer . After some time I found this option it is ok now . no error
For test, I send an email to myself with an attached file and comments. When I received the email there was only name et email information. No comments no file...
I looks different docs and vidéos but not attached file and comments with email.
Did you add the name of the upload file field to the "attachments fields names" box in the email's settings ?
well sorry I try to understand (but maybe I misunderstood because of language issues)
I did what you told me but not file attached to email http://www.chronoengine.com/faqs/53-cfv4/cfv4-file-uploads/2676-how-can-i-attach-uploaded-files-to-an-email.html
It will be to betterto understand with pictures :
I did what you told me but not file attached to email http://www.chronoengine.com/faqs/53-cfv4/cfv4-file-uploads/2676-how-can-i-attach-uploaded-files-to-an-email.html
It will be to betterto understand with pictures :



Data Array:
Array
(
[option] => com_chronoforms
[tmpl] => component
[chronoform] => formulaire
[event] => submit
[input_text_1] => gh
[input_text_2] => toto@rru.fr
[input_textarea_3] => ftyftyfyft
[file_upload] =>
[input_submit_5] => Submit
[adc4a24e294349869912929bc6816d74] => 1
[_PLUGINS_] => Array
(
[upload_files] => Array
(
)
)
)
Validation Errors:
Array
(
)
merci
Debug Data
email
1
Result An email has been SENT successfully from (du site aV)noreply@xxx.fr to nick@yxxx.fr.org
Body
Nom -prénom gh
Email toto@rru.fr
Commentaires ftyftyfyft
fichier
Submitted by 80.11.150.238
Attachments array ( )
Hi nickg,
I added the Debugger output to your post. If you look at it you will see that the name of the file input is file_upload but in the images you posted you have used file_upload_1 Please check to make sure that they are all the same.
Bob
I added the Debugger output to your post. If you look at it you will see that the name of the file input is file_upload but in the images you posted you have used file_upload_1 Please check to make sure that they are all the same.
Bob
well I am lost !
I putted the same name of the file
upload file : Fields Configuration = file_upload_1:pdf-jpg-gif-png
email : Attachments fields name = file_upload_1
There is an other field to complete ?
I putted the same name of the file
upload file : Fields Configuration = file_upload_1:pdf-jpg-gif-png
email : Attachments fields name = file_upload_1
There is an other field to complete ?
ok I just added
upload file : Fields Configuration = file_upload:pdf-jpg-gif-png
email : Attachments fields name = file_upload
so it works now
If I understood , I must write "file_upload" not an other name , that's right ?
upload file : Fields Configuration = file_upload:pdf-jpg-gif-png
email : Attachments fields name = file_upload
so it works now
If I understood , I must write "file_upload" not an other name , that's right ?
HI nickg,
You must write the name of the File Upload element in your form. If that is xxggrr17q, then you use xxggrr17q:jpg-png-gif-pdf in the Upload Files action and xxggrr17q in the Email action Attachments box.
Bob
You must write the name of the File Upload element in your form. If that is xxggrr17q, then you use xxggrr17q:jpg-png-gif-pdf in the Upload Files action and xxggrr17q in the Email action Attachments box.
Bob
it just depends on the name you used for the file field.
Regards,
Max
Regards,
Max
it is strange because when the name was wrotten like this (see below):
upload file : Fields Configuration = file_upload_1:pdf-jpg-gif-png
email : Attachments fields name = file_upload_1
it was not work, It is the reason why I wrotten file_upload
upload file : Fields Configuration = file_upload_1:pdf-jpg-gif-png
email : Attachments fields name = file_upload_1
it was not work, It is the reason why I wrotten file_upload
There are no validation errors in the debug, your file field name is "file_upload" and so you should use "file_upload" in the "File upload" action and the "Attachments fields names" in the email action.
Regards,
Max
Regards,
Max
ok , thank you a lot for your patience,😉
Is not very easy to understand technical word in english
Could you delete the debug file in my last post
Thanks again.
Is not very easy to understand technical word in english
Could you delete the debug file in my last post
Thanks again.
hello
I do not think I did something wrong but the attached files go directly to JOOMLA_PATH/components/com_chronoforms/uploads/FORm_NAME/
It seems to me that before the file was attached to email
what I disabled ,
I do not think I did something wrong but the attached files go directly to JOOMLA_PATH/components/com_chronoforms/uploads/FORm_NAME/
It seems to me that before the file was attached to email
what I disabled ,
ok I found the solution :
https://www.chronoengine.com/forums/posts/f2/t90922/file-not-attached-to-the-mail--but-saved-in-the-folder.html?hilit=attached+file
It is not obvious to know all these technical aspects for a beginner like me . How I know all this information?
https://www.chronoengine.com/forums/posts/f2/t90922/file-not-attached-to-the-mail--but-saved-in-the-folder.html?hilit=attached+file
You also need to make sure that the actions are in a sensible order - so, for example, the Upload Files action needs to be before the Email action.
It is not obvious to know all these technical aspects for a beginner like me . How I know all this information?
This topic is locked and no more replies can be posted.