uploaded file link

PURINA 09 Nov, 2014
Hello, probably lots of the answers for this tema for here, but I really cant find the way. I cannot find the uploaded file even I go to server and the link in the email is not provided. Also the progress bar would be great to have by uploading. Can someone help. Thanks JIRI
GreyHead 09 Nov, 2014
Hi PURINA,

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

Bob
PURINA 10 Nov, 2014
Thanks - the link is http://www.tygrtisk.cz/index.php?option=com_chronoforms5&chronoform=demo-basic-contact
PURINA 11 Nov, 2014
sorry here is the result:

Data Array

Array
(
    [option] => com_chronoforms5
    [chronoform] => demo-basic-contact
    [event] => submit
    [Itemid] => 
    [name] => JIRKA
    [email] => jiri@zujic.com
    [subject] => kkoo
    [message] => lxzůkůlzkzůx
    [submit5] => Submit
    [ip_address] => 94.113.128.96
)

Array
(
)

Errors

Array
(
)

Debug Info

Array
(
    [1] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:zujic@tygrtisk.cz
                    [2] => Subject:kkoo
                    [3] => From name:JIRKA
                    [4] => From email:jiri@zujic.com
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => 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">JIRKA</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">jiri@zujic.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">kkoo</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">lxzůkůlzkzůx</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><br /><br />IP: 94.113.128.96
                )

        )

)
PURINA 11 Nov, 2014
So OK data are uploading, but I really cant go throuhg to link to uploaded data. Debug is here:
Array
(
    [1] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:zujic@tygrtisk.cz
                    [2] => Subject:kkoo
                    [3] => From name:JIRKA
                    [4] => From email:jiri@zujic.com
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Body:
<div class="gform-all">
<div class="gform-section">
<div id="ftr-name" class="gform-line-tr">
<div id="ftd-name" class="gform-line-td"><label class="gform-label-left" for="name">Name</label>
<div id="fin-name" class="gform-input-container gform-input">JIRKA</div>
</div>
</div>
<div id="ftr-email" class="gform-line-tr">
<div id="ftd-email" class="gform-line-td"><label class="gform-label-left" for="email">Email</label>
<div id="fin-email" class="gform-input-container gform-input">jiri@zujic.com</div>
</div>
</div>
<div id="ftr-subject" class="gform-line-tr">
<div id="ftd-subject" class="gform-line-td"><label class="gform-label-left" for="subject">Subject</label>
<div id="fin-subject" class="gform-input-container gform-input">kkoo</div>
</div>
</div>
<div id="ftr-message" class="gform-line-tr">
<div id="ftd-message" class="gform-line-td"><label class="gform-label-left" for="message">Message</label>
<div id="fin-message" class="gform-input-container gform-input">jklůlllů</div>
<div class="gform-input-container gform-input">
</div>
<div><img src='' /></div><br /><br />IP: 94.113.128.96
                )

        )

    [3] => Array
        (
            [Files Upload] => Array
                (
                    [0] => Upload routine started for file upload by : file6
                    [1] => /var/www/clients/client2/web8/web/tisky/20141111220632_mimaki_JV300_nahled.jpg has been uploaded successfully.
                )

        )

)
GreyHead 12 Nov, 2014
Hi JIRI,

That last Debugger output is incomplete - please post the whole of the Debugger output including the Data part at the beginning.

it looks as if you may have the Upload Files action after the Email action so that the information about the uploaded file is not created when the email is sent.

Bob
PURINA 12 Nov, 2014
here it is - many thanks:

Thank you!
Data Array

Array
(
    [option] => com_chronoforms5
    [chronoform] => Zasletedataktisku
    [event] => submit
    [Itemid] => 
    [name] => JIIR ZUJIC
    [email] => jirka@zujic.cz
    [subject] => height of the module
    [message] => saůlkasůldklůk
    [submit5] => Submit
    [ip_address] => 84.242.88.132
    [file6] => 20141112170655_Cenk_placek.pdf
)

Array
(
    [file6] => Array
        (
            [name] => 20141112170655_Cenk_placek.pdf
            [original_name] => Cenk_placek.pdf
            [path] => /var/www/clients/client2/web8/web/tisky/20141112170655_Cenk_placek.pdf
            [size] => 58056
            [link] => http://www.tygrtisk.cz/tisky/20141112170655_Cenk_placek.pdf
        )

)

Errors

Array
(
)

Debug Info

Array
(
    [1] => Array
        (
            [Email] => Array
                (
                    [0] => An email with the details below was sent successfully:
                    [1] => To:zujic@tygrtisk.cz
                    [2] => Subject:height of the module
                    [3] => From name:JIIR ZUJIC
                    [4] => From email:jirka@zujic.cz
                    [5] => CC:
                    [6] => BCC:
                    [7] => Reply name:
                    [8] => Reply email:
                    [9] => Attachments:
                    [10] => Body:
<div class="gform-all">
<div class="gform-section">
<div id="ftr-name" class="gform-line-tr">
<div id="ftd-name" class="gform-line-td"><label class="gform-label-left" for="name">Name</label>
<div id="fin-name" class="gform-input-container gform-input">JIIR ZUJIC</div>
</div>
</div>
<div id="ftr-email" class="gform-line-tr">
<div id="ftd-email" class="gform-line-td"><label class="gform-label-left" for="email">Email</label>
<div id="fin-email" class="gform-input-container gform-input">jirka@zujic.cz</div>
</div>
</div>
<div id="ftr-subject" class="gform-line-tr">
<div id="ftd-subject" class="gform-line-td"><label class="gform-label-left" for="subject">Subject</label>
<div id="fin-subject" class="gform-input-container gform-input">height of the module</div>
</div>
</div>
<div id="ftr-message" class="gform-line-tr">
<div id="ftd-message" class="gform-line-td"><label class="gform-label-left" for="message">Message</label>
<div id="fin-message" class="gform-input-container gform-input">saůlkasůldklůk</div>
<div class="gform-input-container gform-input">
</div>
<div><img src='' /></div><br /><br />IP: 84.242.88.132
                )

        )

    [3] => Array
        (
            [Files Upload] => Array
                (
                    [0] => Upload routine started for file upload by : file6
                    [1] => /var/www/clients/client2/web8/web/tisky/20141112170655_Cenk_placek.pdf has been uploaded successfully.
                )

        )

)

Powered by ChronoForms - ChronoEngine.com
GreyHead 13 Nov, 2014
Hi PURINA,

If you look at the Debugger output you will see that your file is here
http://www.tygrtisk.cz/tisky/20141112170655_Cenk_placek.pdf
I can see it OK from here.

To attach this to the email you need to put file6 in the Email Action Attachments box.

Bob
PURINA 14 Nov, 2014
OK But I need to have link to data in email, not the attachment because sometimes data are to big.
And what about the progress bar of loading? There is an option, but I didnot found the way how to configure it.

MANY THANKS JIRI
This topic is locked and no more replies can be posted.