Support

Akeeba Ticket System

#37875 Invalid field: COM_ATS_CONFIG_ATTACHMENTS_FOLDER_LABEL

Posted in ‘Akeeba Ticket System for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
4.2.3
PHP version
n/a
Akeeba Ticket System version
5.1.1 (free)

Latest post by b2z on Wednesday, 12 October 2022 15:11 CDT

b2z

Hi,

When I save the configuration, I always get error.

 

var/www/path/www/nnt.domain.com

domain.com - my domain, but the path is correct.

I attempted to add path to /images/ folder where attachments can be stored like:

var/www/path/www/nnt.domain.com/images/attachments

But it takes the same effect.

 

Invalid field: COM_ATS_CONFIG_ATTACHMENTS_FOLDER_LABEL

 

This is a free version of the component.

Regards,

 

nicholas
Akeeba Staff
Manager

Your path is wrong. Read the field description. It reads:

Enter the folder where ATS will save its attachments. Enter a folder relative to your site's root. Default: media/com_ats/attachments.

You are trying to enter kinda-sorta an absolute (instead of relative) path.

The correct value for what you are trying to do would be images/attachments.

However, what you are doing is actually really bad from a security point of view since images/attachments is publicly accessible. You should use a folder which is not directly accessible from the web. The default folder we ask you to use, media/com_ats/attachments, has a .htaccess and web.config file to prevent direct access to its files. Remember that all attachments are downloaded through ATS, using server-side PHP code. They are not linked to directly. This is what prevents someone who should not view the attachment but has a link to it from accessing and downloading the attachment.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

b2z

media/com_ats/attachments

It works.

By the way, this path: var/www/path/www/nnt.domain.com

was added by the system by default after the component installation, so it was not my experiment. And I just did not notice tooltip.

With your advice, all is fine now.

Now this problem with "sending anonymous data to Joomla" is resolved too after the correct configuration saving.

 

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!