Absolute server path

jmahun 13 Aug, 2015
I have one form in which the user can upload an image file. The Upload Path is blank so the file is uploaded to the default .../components/com_chronoforms/chronoforms/uploads/form1 folder.

I have a second form in which the user may delete or replace the image with another. If I leave the Upload Path blank, it uploads the image to the .../components/com_chronoforms/chronoforms/uploads/form2 folder.

The image has to go into form1's folder. In order to do that, I have to specify an "Absolute server path" to the folder. I can't figure what that path should be. I tried using my site as a prefix: http://gwillis.net/components/com_chronoforms/chronoforms/uploads/form1
but that didn't work.

How do I determine what the "Absolute server path" to the folder is?
GreyHead 13 Aug, 2015
Hi jmahun,

It's the folder path you need not the URL, If you go to Site Admin > System Information > Configuration file and look for the log_path setting that should tell you - in my case it is /home/user_name/domain_name/logs

Replace the logs with your path and you should be good to go with something a bit like
/home/greyhead/j3.greyhead.org/components/com_chronoforms/chronoforms/uploads/form1


Bob

PS You can also probably see the path if you add a Debugger to a form with a working Files Upload action.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger