Buy Now
Sign in

file upload - "Destination folder not available".

thewelt , July 07 at 10:10
Answered
T
thewelt
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
GreyHead
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
ChronoForms technical support
If you'd like to buy me a coffee or two, thank you very much
T
thewelt
Hi Bob,
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] =>
)

)
H
healyhatman
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/
Web developer at SkySpider.com.au
I don't work for ChronoEngine but I do accept donations paypal.me/healyhatman