File Upload Path

How to fix file upload path errors in ChronoForms on Windows.

Overview

The issue occurs because ChronoForms incorrectly prepends a forward slash to the Windows drive letter from the Joomla JPATH_ROOT constant.
Wait for the next ChronoForms update, which will resolve the path formatting issue.

Answered
Fl Flamingo 27 Oct, 2025

Joomla 8.1 Chronoform8 Windows 11 Chronoform8 converts the entry in the file configuration {path:root}/images/chronoforms_uploads/ to L:\XAMPP\htdocs\duetto/images/chronoforms_uploads/ which results in an error. The entry works width: xampp/htdocs/duetto/images/chronoforms_uploads/ Can this be fixed?

Max_admin Max_admin 27 Oct, 2025
Answer

Hi

The path you said is working is not valid Windows path:

xampp/htdocs/duetto/images/chronoforms_uploads/ 

Windows paths start with the drive letter

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fl Flamingo 28 Oct, 2025

It's mysterious, but in Chronoforms8 it works as shown in the picture. Everything else doesn't.

pathfield.png
Max_admin Max_admin 28 Oct, 2025

Do you have the Linux on Windows system ? if yes then you need to use Linux path as you have shown

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fl Flamingo 29 Oct, 2025

Thank you for your feedback.

For better understanding, I'm rewriting my original question in a clearer format:

 - Joomla 8.1

 - Chronoform8

- Windows 11

Chronoform8 converts the entry

`{path:root}/images/chronoforms_uploads/`

in the file (upload) configuration to

`L:\XAMPP\htdocs\duetto/images/chronoforms_uploads/`

which results in an error.

It works with: 

`xampp/htdocs/duetto/images/chronoforms_uploads/`.

Everything else doesn't.

Can this be fixed?

Max_admin Max_admin 30 Oct, 2025

ChronoForms gets the {path:root} value from the Joomla JPATH_ROOT constant, try this, add a PHP action to your form page and use this code:

echo JPATH_ROOT;

What do you get printed?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fl Flamingo 02 Nov, 2025

The print out ist  L:\XAMPP\htdocs\duetto 

Max_admin Max_admin 03 Nov, 2025

This is the Joomla path as set by Joomla itself then, ChronoForms just uses it

What error do you get when you use the default path ? try to enable the form Debug and send me the error message reported under the Debug of the upload section

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fl Flamingo 05 Nov, 2025

{path:front}/uploadsResult: Upload dir not available: /L:\xampp\htdocs\duetto\components\com_chronoforms8/uploads

{path:root}\images\chronoforms\Result:: Error, upload directory does not exist:  /L:\xampp\htdocs\duetto\images\chronoforms

Available Folders:

see Attachement

folders.jpg
folders2.jpg
Max_admin Max_admin 05 Nov, 2025

Did you try the Create Directory setting:

File Upload Path image 1

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Fl Flamingo 10 Nov, 2025
1 Likes

Using `create directory` results in: Error, Could not create upload directory.

Upload dir not available: /L:\xampp\htdocs\duetto\testimg

As we can see, `echo JPATH_ROOT;` returns L:\XAMPP\htdocs\duetto.

However, Chronoforms always inserts a (/) before the drive letter (see above). 

That's the problem!

Max_admin Max_admin 16 Nov, 2025

Thanks for clarifying this, this should be fixed in the next update.

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