In my reply to sender I want to attach a pdf file so I choose Behaviors - attachments
It says: Multiline list of absolute files paths to attach to this email
I insert this: https://sup.linedancetoender.dk/images/PDF/Bordertraef_program/A4_flyer_2024_dansk.pdf
On submit I am getting this error:
Could not access file: https://sup.linedancetoender.dk/images/PDF/Bordertraef_program/A4_flyer_2024_dansk.pdf
What am I missing, is it possible at all?
you need to use the absolute path to the file, but you are using the URL
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
I tried so many different paths, couldn't get anything working.
Can you, from the url, say what would the absolute bath be?
Would the absolute path be like this?
/images/PDF/Bordertraef_program/A4_flyer_2024_dansk.pdf
If yes, this is not working either:
Could not access file: images/PDF/Bordertraef_program/A4_flyer_2024_dansk.pdf
you can try this:
{path:front}/../../images/PDF/Bordertraef_program/A4_flyer_2024_dansk.pdf
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This is a relative path isn't it?
Unfortunately this is not working either
Could not access file: var/www/linedancetoender.dk/sup_linedancetoender/components/com_chronoforms8/../../images/PDF/Bordertraef_program/A4_flyer_2024_dansk.pdf
so the absolute path is shown:
var/www/linedancetoender.dk/sup_linedancetoender/images/PDF/Bordertraef_program/A4_flyer_2024_dansk.pdf
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This is not working either:
var/www/linedancetoender.dk/sup_linedancetoender/images/PDF/Bordertraef_program/A4_flyer_2024_dansk.pdf
Error message:
Could not access file: var/www/linedancetoender.dk/sup_linedancetoender/images/PDF/Bordertraef_program/A4_flyer_2024_dansk.pdf
I'm not sure, please try to ask your host admin what is the path to the file ?
or the file may be unreadable by Joomla if this is the correct path
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Are you sure there is no bug in this funktion in Chronoform?
Did you test it and is it working for you
you need the absolute "path" not "url", and yes it works for me
try this:
/var/www/linedancetoender.dk/sup_linedancetoender/images/PDF/Bordertraef_program/A4_flyer_2024_dansk.pdf
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Phew, now it is working.
I also checked the homepage for my host simply.com.
Here I found this:
The path to your root directory on PHP web hotels is /var/www/linedancetoender.dk/
Therefore, if you need to get hold of the public_html folder, the path will be
/var/www/linedancetoender.dk/public_html
So for my main domain I used this:
/var/www/linedancetoender.dk/public_html/images/PDF/Bordertraef_program/A4_flyer_2024_dansk.pdf
And for my sup domain I used this:
/var/www/linedancetoender.dk/sup_linedancetoender/images/PDF/Bordertraef_program/A4_flyer_2024_dansk.pdf
Thank you so much for your effort in helping me.
We got it in the end, I am happy
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.