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
Hi nick,
Did you delete the delimiter/separator in the file uploads action ? it should be set to "-"
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
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...
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 ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
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
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 ?
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 ?
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
it just depends on the name you used for the file field.
Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
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
hello
I have a Validation Errors:
Array
(
)
Oops this is debug file
File deleted as requested!
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
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
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.
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 ,