Forums

problem with file upload files

mo.b 22 Apr, 2013
hi,
I read the forum ...
but still have not found solution...My form works very well, except the form to be sent to an e-mail with uploading files (I need to send a picture).

please help me and sorry for my English🙂
mo.b 26 Apr, 2013
Thank you for your response. But I have this Attachments Fields filled with "file_upload:jpg-gif-jpeg-png" ...still nothing...I am a new in joomla and chronoforms🙂
GreyHead 26 Apr, 2013
Hi mo.b,

I have this Attachments Fields filled with "file_upload:jpg-gif-jpeg-png


Hmmm . . . please read the FAQ again.

Bob
mo.b 29 Apr, 2013

Hi mo.b,

I have this Attachments Fields filled with "file_upload:jpg-gif-jpeg-png


Hmmm . . . please read the FAQ again.

Bob


Sorry
Where is this table? Is there another version?

p.s.
I apologize, if the question is stupid🙂
GreyHead 29 Apr, 2013
Hi mo.b,

You need to add the input names of the file upload elements to the Attachments Fields Name box in the Email action.

You have added the input name plus a list of file types. That's an entry for the Upload Files action, not for the Email action.

I don't know what table you are referring to?

Bob
mo.b 06 May, 2013
I mean, table, the menu is a "general, template, static, dynamic, encryption"

My form has a "preview, emails, thanks message, file upload, captcha, store the date, others, form setings"

in "email" column "Attachments fields name" I wrote "file_upload_1.file_upload_2",
in "files upload" column "files" I wrote "file_upload:jpg-gif-jpeg-png". All the necessary parameters is enabled.

Thank you for your answers
GreyHead 06 May, 2013
Hi mo.b,

That should be
file_upload_1,file_upload_2
with a comma between the entries. In your post you have a '.'

If that isn't the problem 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.

Bob
mo.b 06 May, 2013
I hope this pasted:
(I cleared some names...)


login form

   "MY FORM NAME"

Website counter
ParÄ—mÄ—
Data Array:

Array
(
    [chronoform] => "MY FORM NAME"
    [event] => submit
    [Itemid] => 107
    [option] => com_chronoforms
    [lang] => en
    [view] => form
    [input_text_1] => 
    [input_text_2] => 
    [input_text_3] => 
    [input_text_4] => 
    [input_text_5] => 
    [input_text_6] => 
    [input_text_7] => 
    [input_text_8] => 
    [input_text_9] => 
    [ikelti_nuotraukÄ…] => 
    [input_textarea_14] => 
    [input_text_15] => 
    [chrono_verification] => xJKQL
    [input_submit_17] => Siųsti
    [e720eb3634471530f8fdee4f3f96f97c] => 1
    [language] => en-GB
    [_PLUGINS_] => 
)

Validation Errors:

Array
(
)

Jūsų anketą gavome. Atsiradus poreikiui su Jumis susisieksime.
Debug Data

    Core Captcha
        Passed the core captcha check!
    email
        10
            Result An email has been SENT successfully from (darbuotojas)formos@myemail to info@myemail
            Body
           " MY FORM "


            Submitted by 
            Attachments array ( )
GreyHead 07 May, 2013
Hi mo.b,

There is no trace of an Upload Files action; or of the file_upload_1 or file_upload_2 elements in that DeBug output. Are you sure that this is from the correct form?

Bob
mo.b 08 May, 2013
login form

UŽSAKYMO ANKETA


Website counter
ParÄ—mÄ—
Data Array:

Array
(
    [chronoform] => uzsakymo_anketa
    [event] => submit
    [Itemid] => 107
    [option] => com_chronoforms
    [lang] => en
    [view] => form
    [input_text_1] => mmm
    [input_text_2] => mmm
    [input_text_3] => 11
    [input_text_4] => 11111
    [input_text_5] => cjhjh
    [input_text_6] => ggg
    [input_text_7] => ggg
    [input_text_8] => ggg
    [input_text_9] => fff
    [ikelti_nuotrauką] => NO FILE😲 
    [input_textarea_14] => dddd
    [input_text_15] => 111
    [chrono_verification] => eypSa
    [input_submit_17] => Siųsti
    [13c7b234f9508f3d7f86160af29e62b3] => 1
    [language] => en-GB
    [_PLUGINS_] => 
)

Validation Errors:

Array
(
)

Jūsų anketą gavome.
Debug Data

    Core Captcha
        Passed the core captcha check!
    email
        10
            Result An email has been SENT successfully from (darbuotojas)formos@... to info@....
            Body
            Jūsų vardas 	mmm
            PavardÄ— 	mmm
            Amžius 	11
            Telefonas 	11111
            El. paštas 	cjhjh
            Skype 	ggg
            Miestas 	ggg
            Turite vairuotojo pažymėjimą 	ggg
            Turite savo automobilį 	fff
            Nuotrauka     NO FILE 😲 	
.................................................
            Įveskite kodą 	eypSa


            Submitted by ........
            Attachments array ( )
GreyHead 08 May, 2013
Hi mo.b,

Still no File input elements and no Upload Files action visible there.

Bob
mo.b 08 May, 2013
thank you for your patience,
but I do not see where I made ​​a mistake,
why Still no Upload Files visible there...😟
GreyHead 09 May, 2013
Hi mo.b,

It's your form, I can't tell from here. Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.

Bob
GreyHead 14 May, 2013
Hi mo.b,

In your form the name of the File Upload element is ikelti nuotraukÄ… - this won't work as spaces and 'special characters like 'Ä…' are not allowed in HTML input names. Please change this to - say ikelti_nuotrauka

You need to have the same name in the Upload Files action so replace file_upload:jpg-gif-jpeg-png with ikelti_nuotrauka:jpg-gif-jpeg-png

There may be other problems, that is as far as I looked.

Bob
mo.b 17 May, 2013
I changed the names - as indicated.
Now on the email I see a note "Nuotrauka 2013051713_a.jpg" . Shows the file name with some numbers, but not Show the file...😟

this is my debug:

logotype

........

login form

form_name

ParÄ—mÄ—
Data Array:

Array
(
    [chronoform] => form_name
    [event] => submit
    [Itemid] => 107
    [option] => com_chronoforms
    [lang] => en
    [view] => form
    [input_text_1] => 
    [input_text_2] => 
    [input_text_3] => 
    [input_text_4] => 
    [input_text_5] => 
    [input_text_6] => 
    [input_text_7] => 
    [input_text_8] => 
    [input_text_9] => 
    [file_upload] => 20130517140123_pz.gif
    [input_textarea_14] => 
    [input_text_15] => 
    [chrono_verification] => sHGax
    [input_submit_17] => Siųsti
    [b5b5e635adfce94ab731ccc1a03b89d5] => 1
    [language] => en-GB
    [_PLUGINS_] => 20130517140123_pz.gif,pz.gif,/home/.../.../.../public_html/components/com_chronoforms/uploads/form_name/20130517140123_pz.gif,8111,http://.....lt/components/com_chronoforms/uploads/form_name/20130517140123_pz.gif
)

Validation Errors:

Array
(
)

Jūsų anketą gavome. 
Debug Data

    Core Captcha
        Passed the core captcha check!
    Upload routine started for file upload by : file_upload
    /home/.../.../..../public_html/components/com_chronoforms/uploads/form_name/20130517140123_pz.gif has been uploaded successfully.
    email
        10
            Result An email has been SENT successfully from ....lt to ...
            Body
............................ 	
            Nuotrauka 	20130517140123_pz.gif
............................	
            Įveskite kodą 	sHGax


            Submitted by ......
            Attachments array ( )
        11
            Result An email has been SENT successfully from ..... to ......
            Body
            ......	
            Nuotrauka 	20130517140123_pz.gif
            ......
            Įveskite kodą 	sHGax


            Submitted by .....
            Attachments array ( )
GreyHead 18 May, 2013
Hi mo.b,

It looks as though you still need to add the file to the Email Attachments box.

Bob
mo.b 23 May, 2013
Hi,
Would you have a look in my form on my site please? I will send you login from my site to PM...
GreyHead 23 May, 2013
Hi mb.o,

Have you added the Attachment to the Email action?

Bob

PS You sent me a PM but no login info.
mo.b 06 Jun, 2013
I created this form with easy wizard and i thing I added the Attachment to the Email action...but I did not find a "the Attachment to the Email" button. I made my form with all recommendations from video. I'm sory, but where, then, is this button or something like this? 😶
GreyHead 07 Jun, 2013
Hi mo.b,

In the Email action there is an option box labelled Attachments.

Bob
mo.b 12 Jun, 2013
all is dann, but still do not work😟 I do not know what to do...
GreyHead 12 Jun, 2013
Hi mo.b,

The problem may be that the File input in your form has the name ikelti nuotraukÄ…. This will not work correctly; input names are not allowed to have spaces or special characters like 'Ä…'.

Try renaming this to ikelti_nuotrauka and check the other input names too.

Then please post the debugger output here again.

Bob
mo.b 14 Jun, 2013
Data Array:

Array
(
    [chronoform] => my form
    [event] => submit
    [Itemid] => 107
    [option] => com_chronoforms
    [lang] => en
    [view] => form
    [input_text_1] => bbbb
    [input_text_2] => bbbb
    [input_text_3] => 111
    [input_text_4] => 111
    [input_text_5] => gg@.lt
    [input_text_6] => jhhh
    [input_text_7] => hhh
    [input_text_8] => hhh
    [input_text_9] => hhh
    [file_upload:jpg-gif-jpeg-png] => 
    [input_textarea_14] => ftytfy
    [input_text_15] => 111
    [chrono_verification] => QxFgZ
    [input_submit_17] => Siųsti
    [af0e9a2d6bde2b8d7330bb778a4bd443] => 1
    [language] => en-GB
    [_PLUGINS_] => 
)

Validation Errors:

Array
(
)

Jūsų anketą gavome. 
Debug Data

    Core Captcha
        Passed the core captcha check!
    email
        10
            Result An email has been SENT successfully from (darbuotojas)@...lt to @....lt
            Body
            Jūsų vardas 	bbbb
            PavardÄ— 	bbbb
            Amžius 	111
            Telefonas 	111
            El. paštas 	gg@.lt
            Skype 	jhhh

            Nuotrauka 	
            Patirtis 	ftytfy
            Įveskite kodą 	QxFgZ


            Submitted by ........
            Attachments array ( )
        11
            Result An email has been SENT successfully from (darbuotojas)@....lt to info@vedejai.lt
            Body
            Jūsų vardas 	bbbb
            PavardÄ— 	bbbb
            Amžius 	111
            Telefonas 	111
            El. paštas 	gg@.lt
            Skype 	jhhh
            Nuotrauka 	
            Patirtis 	ftytfy
            Įveskite kodą 	QxFgZ


            Submitted by ......
            Attachments array ( )
        12
            Result An email has been SENT successfully from (darbuotojas)@.....lt to @....lt
            Body
            Jūsų vardas 	bbbb
            PavardÄ— 	bbbb
            Amžius 	111
            Telefonas 	111
            El. paštas 	gg@.lt
            Skype 	jhhh
            Nuotrauka 	
            Patirtis 	ftytfy
            Įveskite kodą 	QxFgZ


            Submitted by .....
            Attachments array ( )
GreyHead 14 Jun, 2013
Hi mo.b,

Have you made the same change in the Upload Files action? It is not working now. The input name there needs to be the same.

Bob
mo.b 14 Jun, 2013
the names are the same...I changed everywhere, like you said...
GreyHead 15 Jun, 2013
Hi m.bo,

You seem to have renamed the File element in your form to file_upload:jpg-gif-jpeg-png. Please change that to just file_upload.

You then need file_upload in the Email Attachments box.

This line file_upload:jpg-gif-jpeg-png only goes in the Upload Files action.

Bob
mo.b 16 Jun, 2013
thank you, thank you. Everything works!!!😀 😀 😀
This topic is locked and no more replies can be posted.