CFV5 file upload not working + attachments

adib 18 Feb, 2014
Hello,

I am trying to set a form with 2 file upload. However the upload is not working and also the attachment in the email.
I got this on submit

Data Array
Array
(
    [option] => com_chronoforms5
    [chronoform] => STF
    [event] => submit
    [full_name] => hgfdhgf
    [birth_date] => 06-02-2014
    [sex] => male
    [email] => shami585 [AT] yahoo [DOT] com
    [phone] => 004917632093850
    [skype] => adeeb
    [study] => master
    [job] => trans_exp
    [agreement] => 1
    [recaptcha_challenge_field] => 03AHJ_VusDmtVvtBNvk4VrEH8GSerjnYaF0XJJHdSUK2tRgZjJsgTutYQKL2WTGgjEUswqPQ5K97yHb4xwhDZeF9yNs4coz3mupNH29W5AroD5ZiXv5Aiz69WSeGKBijibjOlZeD-VxXZQb19wayuvfuHGdRFsI8prZxNTMOJWDkS6SFkZlUV-ynk
    [recaptcha_response_field] => the sulaut
    [button13] => submit
    [ip_address] => 92.226.37.196
)
Array
(
)
Errors
Array
(
)
Debug Info
Array
(
    [0] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:adib [DOT] alabaji [AT] syssr [DOT] org
                    [2] => Subject:hgfdhgf
                    [3] => From name:SSSR
                    [4] => From email:admin [AT] syssr [DOT] org
                    [5] => Reply name:hgfdhgf
                    [6] => Reply email:shami585 [AT] yahoo [DOT] com
                    [7] => Attachments:
                    [8] => Body:
<table>
<tr><td>الاسم الكامل</td><td>hgfdhgf</td></tr>
<tr><td>تاريخ الميلاد</td><td>06-02-2014</td></tr>
<tr><td>الجنس</td><td>male</td></tr>
<tr><td>البريد الالكتروني</td><td>shami585 [AT] yahoo [DOT] com</td></tr>
<tr><td>رقم الهاتف</td><td>004917632093850</td></tr>
<tr><td>Skype</td><td>adeeb</td></tr>
<tr><td>المؤهل الأكاديمي</td><td>master</td></tr>
<tr><td>الوظيفة المرغوب بالتقدم لها</td><td>trans_exp</td></tr>
<tr><td>السيره الذاتية</td><td></td></tr>
<tr><td>ملف عينة الترجمة</td><td></td></tr>
<tr><td>الاتفاقية</td><td>1</td></tr>
</table>

Poster's IP address:92.226.37
                )

        )

)


Thanks for your help
GreyHead 18 Feb, 2014
Hi adib,

I don't see any sign of an Upload Files action in the Debug output. Have you added one and configured it?

Bob
adib 18 Feb, 2014
Hi,

yes I have the upload file action and it is enabled

[attachment=0]Screenshot 2014-02-18 20.02.25.png[/attachment]
[attachment=1]Screenshot 2014-02-18 20.02.43.png[/attachment]
adib 18 Feb, 2014
Answer
Thanks for your help..
It works now. I should put (-) in the Extensions separator.
I dont know why, but it works in this way.
junaid 03 Mar, 2014
Hi I have a similar issue with file upload.
I have 3 problems:
1- the specified directory gets created on the server but only a file "index.html" gets created int he direcoty everytime
2- the actual file gets uploaded in the root.😟 extension name contains directory_name+number+actual_filename
3- The fiel does not get attached to email.
Please see debug info below. what am i doing wrong here?

Array
(
    [1] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:itsmejuni@hotmail.com
                    [2] => Subject:Your Subject Goes Here
                    [3] => From name:Admin
                    [4] => From email:admin@domain.com
                    [5] => Reply name:
                    [6] => Reply email:
                    [7] => Attachments:
                    [8] => Body:
<div class="gform-all"><div class="gform-section"><div class="gform-line-tr" id="ftr-name"><div class="gform-line-td" id="ftd-name"><label for="name" class="gform-label-left">Name</label>
<div class="gform-input-container gform-input" id="fin-name">Junaid</div></div></div><div class="gform-line-tr" id="ftr-email"><div class="gform-line-td" id="ftd-email"><label for="email" class="gform-label-left">Email</label>
<div class="gform-input-container gform-input" id="fin-email">junaid@hotmail.com</div></div></div><div class="gform-line-tr" id="ftr-subject"><div class="gform-line-td" id="ftd-subject"><label for="subject" class="gform-label-left">Subject</label>
<div class="gform-input-container gform-input" id="fin-subject">test subject</div></div></div><div class="gform-line-tr" id="ftr-message"><div class="gform-line-td" id="ftd-message"><label for="message" class="gform-label-left">Message</label>
<div class="gform-input-container gform-input" id="fin-message">test message </div></div></div><div class="gform-line-tr" id="ftr-submit5"><div class="gform-line-td" id="ftd-submit5">
<div class="gform-input-container gform-input" id="fin-submit5"></div></div></div></div></div>

Poster's IP address:109.170.236.250
                )

        )

    [] => Array
        (
            [Files Upload] => Array
                (
                    [0] => Upload routine started for file upload by : file6
                    [1] => chrono_uploads20140303100330_JetView-logo.jpg has been uploaded successfully.
                )

        )

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