News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

After maj Joomla 6.0

Started by Franck V, 05.11.2025 11:42:02

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Franck V

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
  •