Destination directory not available

cm cmwincom 1d ago

Today, a CSV export, which has been working with no issue for 2+ years has started returning "Destination directory not available" instead of opening a prompt to save the file.The storage path for the  CSV export is and has been: {path:front}/files/CDOreg-completed-{date.site:Ymd_His}.csv.Anything to resolve this issue is greatly appreciated.

Max_admin Max_admin 1d ago

Does the directory still exist and did the directory permissions change ?

Try to upload something to that directory through Joomla, does it work ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
cm cmwincom 1d ago

The directory exists and as far as I can tell the permissions have not changed. What should the permissions be?

Max_admin Max_admin 1d ago

Then just try to upload a file there using Joomla, does it upload ? if not then the web server can not write to it

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
cm cmwincom 1d ago

I was just trying to upload a file there using Joomla and receive the same message.

cm cmwincom 1d ago

I turned on debug.When I load the form this is what I'm seeing at the bottom for the upload path.

Array
(
    [option] => com_chronoforms7
    [chronoform] => upload-test
    [cd5230095f8a68166a6b6a7e79c9d158] => fd93f07593997acf7608c3d8c45bb167
    [b18f0027a49a2adcf6f0a0d5d76052b9] => 00d48f3d88a2c33f264806be4be8c922
    [joomla_user_state] => logged_in
)
Array
(
    [upload_3] => Array
        (
            [path] => /homepages/4/d463121507/htdocs/518martialarts/components/com_chronoforms7/chronoforms/uploads/
            [var] => Array
                (
                )

        )

)

When I submit I see this

Array
(
    [option] => com_chronoforms7
    [chronoform] => upload-test
    [gpage] => end_page
    [cd5230095f8a68166a6b6a7e79c9d158] => fd93f07593997acf7608c3d8c45bb167
    [b18f0027a49a2adcf6f0a0d5d76052b9] => 00d48f3d88a2c33f264806be4be8c922
    [joomla_user_state] => logged_in
    [__cf_token] => 5342fc7f-f865-414f-9e1f-da1d5cf27e30
    [file_1] => 20260416123011_2025-demo.jpg
)
Array
(
    [end_page_upload] => Array
        (
            [path] => /homepages/4/d463121507/htdocs/518martialarts/j2024/components/com_chronoforms7/chronoforms/uploads/
            [file_1] => Array
                (
                    [extensions] => Array
                        (
                            [0] => jpg
                            [1] => jpeg
                            [2] => png
                            [3] => gif
                            [4] => pdf
                            [5] => txt
                        )

                    [saved] => true
                )

            [var] => Array
                (
                    [file_1] => Array
                        (
                            [path] => /homepages/4/d463121507/htdocs/518martialarts/j2024/components/com_chronoforms7/chronoforms/uploads/20260416123011_2025-demo.jpg
                            [filename] => 20260416123011_2025-demo.jpg
                            [name] => 2025_demo.jpg
                            [size] => 123113
                            [url] => https://518martialarts.com/load&dtask=download&file=20260416123011_2025-demo.jpg
                        )

                )

        )

    [end_page_validation] => Array
        (
            [log] => Automatic validation enabled.
            [var] => true
        )

)

It's uploading to a path in 518martialarts/j2024 instead of 518martialarts.

J2024 was the Joomla 4 version of the site, which we no longer need. When I load the form the j2024 is not in the path. For the time being I've restored the j2024 path and the CSV export is working. I would like to remove the j2024 from the path.Thanks for your help so far.

Max_admin Max_admin 23h ago

Try to use {path:front} in an HTML view, what does it return ?

Can you install ChronoForms v8 on the same website ? if yes then please also add {path:front} to an HTML view and tell me what does it return

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply