Chronoforms5 File Upload problem

ljk 09 Feb, 2014
Hi,

I am using Chronoforms 5 RC4.1 on a Joomla 3.2.2 site.

I have a file field in my form. The first issue is that the file is being stored in the public_html folder rather than in the folder specified in the File Upload event (there is a missing / between the folder name and the filename) and the second issue is that the file is not being attached to the email. The file attachment error might be because the file is not in the correct folder possibly.

Here is the debug info:
Array
(
[option] => com_chronoforms5
[chronoform] => SiteAlterationSingle
[event] => submit
[full_name] => Laurelle
[lot] => 31
[email] => laurelle@xxxx.com
[site_changes] => Test 6
[application_date] => 08-Feb-2014
[captcha] =>
[application_submit] => Send Application
[test_file] => 20140208173017_Test_Document.pdf
[subject2] => Site Alteration Application from: Laurelle
[ip_address] => 174.19.159.205
)

Array
(
[test_file] => Array
(
[name] => 20140208173017_Test_Document.pdf
[original_name] => Test_Document.pdf
[path] => /home/username/public_html/application_docs20140208173017_Test_Document.pdf
[size] => 19307
[link] => /home/username/public_html/application_docs20140208173017_Test_Document.pdf
)

)

As you can see the path should be:
[path] => /home/username/public_html/application_docs/20140208173017_Test_Document.pdf

Here is the path that I have in my File Upload event:
/home/username/public_html/application_docs/

Note that I tried the path with and without the final /.

Should the File Upload event go before the Check captcha and Server Validation events?

Thank you for your help.
ljk 26 Feb, 2014
Hi,

I tried changing to a folder that doesn't have an underscore in it, but I still have the problem that the page is incorrect and missing the / between the folder and filename.

How can I get this resolved so I can use the form?

Thank you.
xart 06 Mar, 2014
Hy,

i have the same Bug.

You can fix it by you hire behind another Slash

From
/home/username/public_html/application_docs/


To
/home/username/public_html/application_docs//
This topic is locked and no more replies can be posted.