Hi there,
I have a file upload field in my form (CF6) and a upload action in the "succes" area of the "validade fields action".
But when I try to upload a file, i get "Destination folder not available".
The destinationfolder is on the same domain/hosting as my form and the folder is 777.
What am I doing wrong?
Cheers,
Bart Weltens,
Belgium
I have a file upload field in my form (CF6) and a upload action in the "succes" area of the "validade fields action".
But when I try to upload a file, i get "Destination folder not available".
The destinationfolder is on the same domain/hosting as my form and the folder is 777.
What am I doing wrong?
Cheers,
Bart Weltens,
Belgium
Hi Bart,
Please add a Debugger action to the form On Submit event after the Upload Files action and copy and paste the debug results here.
Also check that you have a full path defined for the folder location and not just a path relative to the site root folder.
Bob
Please add a Debugger action to the form On Submit event after the Upload Files action and copy and paste the debug results here.
Also check that you have a full path defined for the folder location and not just a path relative to the site root folder.
Bob
Hi Bob,
Here we go:
Here we go:
Array
(
[option] => com_chronoforms6
[view] => form
[Itemid] => 121
[chronoform] => melding-tijdelijke
[event] => submit
[naam] => Bart Weltens
[email] => bart@test.be
[telefoon] => 04769
[woonplaats] => Erps-Kwerps
[diploma] => onderwijzer, opleiding preventieadviseur niveau 3
[CV] => cf6manual-1.0.2.pdf
[ambt_aanstelling] => Array
(
[0] => kleuteronderwijzer
[1] => ICT
)
[werkstatus] => deeltijds
[opdrachtbreuk] => 18
[uitbreiding] => geenuitbreiding
[halve_dagen] =>
[geldigheid] => 2018-09-26
[vragen] =>
[akkoord] => Akkoord met de privacyregels van KBHA vzw
[verstuur] =>
)
Array
(
[validate_fields2] => Array
(
[log] => Automatic validation enabled.
[var] => 1
)
[upload11] => Array
(
[path] => https://www.kbha.be/personeelsdatabank/uploads/CV/
[var] =>
)
)
Right there is your problem - you can't upload the file to a url it has to be to a file path on your server. So probably something along the lines of
/home/usr1/public_html/www.kbha.be/personeelsdatabank/uploads/CV/
This topic is locked and no more replies can be posted.
