You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By the way, once installed, the component doesn't work anymore with Joomla 6.03 if you don't do the same with other files in the package.
There are errors like Joomla\CMS\Filesystem\Folder not found when uploading files.
So, besides the changes in:
pkg_attachments/install.attachments.php
attachments_component/install.attachments.php
There is to update the following files:
attachments_component/site/src/View/AttachmentsFormView.php
attachments_component/site/src/Controller/DisplayController.php
attachments_component/admin/src/Controller/AttachmentsController.php
attachments_component/admin/src/Helper/AttachmentsUpdate.php
attachments_component/site/src/Helper/AttachmentsHelper.php
attachments_component/admin/src/Controller/AttachmentController.php
By replacing the uses of:
_use Joomla\CMS\Filesystem\File;
_use Joomla\CMS\Filesystem\Folder;
@tiamat52 is the joomla compatibility plugin enabled in your joomla installation? I will have a look at the issue but I think it is caused because some namespaces are deprecated/modified in Joomla6
Indeed a clean joomla 6 install with the compatibility plugin disabled doesn't allow the extension to be installed. With compatibility enabled, the extension works as expected. I will put a warning in install script if it isn't enabled for now.
Activity
tiamat52 commentedon Feb 28, 2026
By the way, once installed, the component doesn't work anymore with Joomla 6.03 if you don't do the same with other files in the package.
There are errors like Joomla\CMS\Filesystem\Folder not found when uploading files.
So, besides the changes in:
pkg_attachments/install.attachments.php
attachments_component/install.attachments.php
There is to update the following files:
attachments_component/site/src/View/AttachmentsFormView.php
attachments_component/site/src/Controller/DisplayController.php
attachments_component/admin/src/Controller/AttachmentsController.php
attachments_component/admin/src/Helper/AttachmentsUpdate.php
attachments_component/site/src/Helper/AttachmentsHelper.php
attachments_component/admin/src/Controller/AttachmentController.php
By replacing the uses of:
_use Joomla\CMS\Filesystem\File;
_use Joomla\CMS\Filesystem\Folder;
by:
_use Joomla\Filesystem\File;
_use Joomla\Filesystem\Folder;
parapente commentedon Feb 28, 2026
@tiamat52 is the joomla compatibility plugin enabled in your joomla installation? I will have a look at the issue but I think it is caused because some namespaces are deprecated/modified in Joomla6
parapente commentedon Feb 28, 2026
Indeed a clean joomla 6 install with the compatibility plugin disabled doesn't allow the extension to be installed. With compatibility enabled, the extension works as expected. I will put a warning in install script if it isn't enabled for now.
Add a test if the joomla 6 compatibility plugin is enabled