jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => General => Topic started by: Franck V on 05.11.2025 11:42:02

Title: After maj Joomla 6.0
Post by: Franck V on 05.11.2025 11:42:02
Hi,

After upgrading to Joomla 6.0, I made the following changes to my test server to enable JDownloads to function without the 6.0 compatibility module:

I replaced the lines: `defined('JPATH_PLATFORM') or die;`

with `defined('_JEXEC') or die;`

in all PHP scripts where I found these lines.

I also modified the lines: `use Joomla\CMS\Filesystem\...`
to `use Joomla\Filesystem\...`
Note: `Use Joomla\CMS\Filesystem\FilesystemHelper`
becomes `Use Joomla\Filesystem\Helper`.

Then I commented out line 34: `HTMLHelper::_('formbehavior.chosen', 'select', null, array('disable_search_threshold' => 0 ));`

in the script www/administrator/components/com_jdownloads/tmpl/jdownloads/default.php

I haven't tested all the functions, but the windows are displayed on the backend.

Franck