Forums

Where are files stored on upload?

Umbrella 02 Aug, 2016
Okay, in the designer is says...

"Absolute server path to the upload directory, you can leave this empty to use the default upload path under the Chronoforms uploads/form_name/ directory."

No such location exists at the root of any of my sites. Where is this actually located? Do I have to manually create it?

File uploads doesn't seem to work at all in any forms (and never has) and I'm hoping this is the cause.
GreyHead 03 Aug, 2016
Hi Umbrella,

The default uploads directory is . . . /components/com_chronoforms5/uploads/form_name/ You can replace this with any valid writeable path on your server - including folders above the site root if you need to.

The . . ./ bit of the path will depend on your site hosting setup. If you leave the box empty and add a debugger to your form and test you will see the full upload path in the Debugger output.

the /form_name/ part will be the name of your form.

Bob
Umbrella 03 Aug, 2016
Thank you - I found that folder, but nothing is being uploaded to it.

Do you have a link on how to add a debugger to an advanced form?
GreyHead 03 Aug, 2016
Hi Umbrella,

Click the setup tab, select the Debugger action in the Basic actions group, drag it into the event you want to debug, drag it up to the location you want to check. Save and test.

You can add more than one if you want to check exactly what is happening where. You can enable and disable them if needed.

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