News:

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

Main Menu
Support-Forum

Recent posts

#81
General / Re: Since last Update "Fehler ...
Last post by Arno - 29.07.2026 00:17:57
Thanks for the update!
#82
General / Re: jDownloads 4.1.7 update sh...
Last post by Arno - 29.07.2026 00:17:13
Hi,
sorry for the slight confusion.

I'd uploaded the new version to the server, which is why it was correctly offered via the Joomla updater. That was indeed the intention. Unfortunately, however, I only got round to updating the version in the download archive today.

Normally, though, that shouldn't be a problem, as the new version can be installed directly via the updater.
#83
Bugs! / Re: Smart Index Error
Last post by Arno - 28.07.2026 21:49:45
Hi Christoph,
thank you for coming back and for sharing your findings.

You are right: this is a CLI context issue. In CLI runs (e.g. `cli/joomla.php finder:index`), Joomla uses `ConsoleApplication`, and some web-only methods like `getMenu()` are not always available.

So your workaround direction is correct, and we will add a proper guard in the jDownloads route helper for both branches (4.x and 6.x), so CLI indexing does not fail in this situation.

Important note:
- This does not change normal frontend behavior.
- It only prevents route/menu lookups from crashing in CLI mode.

Please test again after the next update and let us know if indexing via cron/CLI is stable on your setup.

Thanks again for the precise technical hint.
#84
Bugs! / Re: No more downloads in 4.1.6...
Last post by Arno - 28.07.2026 21:39:46
Hi kode,
thank you, this is very useful information.

I agree we should now try a direct, controlled repair path for your installation.

Important first:
- Please create a full DB backup.
- We only touch jDownloads-related assets/ACL.
- We do not run any global Joomla ACL reset.

## Step A (quick, low risk)

1. Reinstall jDownloads 4.1.6 over the current install.
2. Run Joomla Database Fix: System -> Maintenance -> Database -> Fix.
3. Open jDownloads -> Options -> Permissions and click Save once.
4. Clear Joomla cache.
5. Test:
   - one new test file with access = Public
   - one affected existing file

If still denied, continue with Step B.

## Step B (targeted SQL checks)

Please run these queries and post output/screenshots.

SELECT name, COUNT(*) AS cnt
FROM #__assets
WHERE name = 'com_jdownloads'
   OR name LIKE 'com_jdownloads.category.%'
   OR name LIKE 'com_jdownloads.download.%'
GROUP BY name
HAVING COUNT(*) > 1
ORDER BY cnt DESC, name ASC;

SELECT id, parent_id, lft, rgt, level, name, title, rules
FROM #__assets
WHERE name = 'com_jdownloads'
ORDER BY id;

SELECT 'category' AS row_type, c.id, c.asset_id
FROM #__jdownloads_categories c
LEFT JOIN #__assets a ON a.id = c.asset_id
WHERE c.asset_id IS NULL OR c.asset_id = 0 OR a.id IS NULL
UNION ALL
SELECT 'download' AS row_type, d.id, d.asset_id
FROM #__jdownloads_files d
LEFT JOIN #__assets a2 ON a2.id = d.asset_id
WHERE d.asset_id IS NULL OR d.asset_id = 0 OR a2.id IS NULL
ORDER BY row_type, id;

SELECT d.id, d.catid, d.access, v.title AS access_level_title, d.user_access, d.created_by
FROM #__jdownloads_files d
LEFT JOIN #__viewlevels v ON v.id = d.access
WHERE d.id IN (701, 663, 4636)
ORDER BY d.id;

SELECT id, title, rules
FROM #__viewlevels
WHERE id = 7;


## Step C (only if duplicates were found)

Run this only if Step B query 1 returns duplicates:


DELETE a
FROM #__assets a
JOIN (
    SELECT name, MIN(id) AS keep_id
    FROM #__assets
    WHERE name = 'com_jdownloads'
       OR name LIKE 'com_jdownloads.category.%'
       OR name LIKE 'com_jdownloads.download.%'
    GROUP BY name
    HAVING COUNT(*) > 1
) k ON k.name = a.name
WHERE a.id <> k.keep_id;

Then:
1. Rebuild asset tree in Joomla.
2. Reinstall jDownloads 4.1.6 once more.
3. Retest downloads.

If you post the Step B results, we can give you the exact final SQL for your dataset.
#85
Bugs! / Re: All files corrupted after ...
Last post by Arno - 28.07.2026 20:43:20
Update:
With the release of version 4.1.7, the user's problem has been resolved!
#86
Bugs! / Re: Smart Index Error
Last post by Gratia-Mira - 28.07.2026 19:54:25
Hi,

I'm sorry I haven't gotten back to you in so long.

Today, I took another look at it myself using AI and think I've probably found the error.

It appears that the error is on line 270 of the following file: components/com_jdownloads/src/Helper/RouteHelper.php

AI says: "The getMenu() method belongs exclusively to web-based application clients like SiteApplication and AdministratorApplication. Because CLI commands lack a visual interface, a standard menu context does not exist in ConsoleApplication."

Now I work around the error as follows:

if (!method_exists($app, 'getMenu')) {
   return null;
}

Downloads are now being processed without errors on my website. Perhaps it would be a good idea to fix these "bugs" in future versions.

Thanks again for the software, and all the best!
Christoph
#87
General / jDownloads 4.1.7 update showin...
Last post by musicasampler - 28.07.2026 04:17:27
I would like to report a small issue regarding the latest update notification.

My Joomla installer indicates that an update for jDownloads from version 4.1.6 to 4.1.7 is ready. However, when checking the official jDownloads website, version 4.1.6 is still listed as the latest available stable release.

It seems the update notification XML might still be pointing to 4.1.7, but the package was likely withdrawn. Could you please confirm if version 4.1.7 was temporarily pulled due to an issue?

Thank you for your support!
#88
General / Re: Since last Update "Fehler ...
Last post by dollman - 27.07.2026 15:08:24
After Update to 4.1.7 it works now!
#89
General / Re: Since last Update "Fehler ...
Last post by dollman - 27.07.2026 15:03:11
Anyone an idea?

Thanks4Help!
#90
Bugs! / Re: No more downloads in 4.1.6...
Last post by kode - 27.07.2026 12:45:39
Hi Arno,

Thank you for your detailed instructions. Here are the results of all the checks you requested.

1. Debug User Group (Users → Debug Groups, group: Formazione / group_id=12)

All actions for com_jdownloads are shown in red (Denied) for the Formazione group, including the "Allows users in the group to download files" action.

Same result for Super Users group.

2. Data for 3 affected files (id, catid, access, user_access, created_by)

From production database:

id=701, catid=463, access=7, user_access=244, created_by=242
id=663, catid=187, access=7, user_access=247, created_by=242
id=4636, catid=7, access=7, user_access=244, created_by=242

3. Test with newly created category and file (not migrated data)

We created a brand new category "TEST2026" and a new file assigned to user "lugiann" as sole owner. Result: same error — "You do not have permission to download the requested file." The problem affects both migrated and newly created files.

4. xj7oe_assets table — ACL contradiction

The assets table shows group 12 (Formazione) explicitly allowed:

com_jdownloads (id=9542, parent_id=1, parent=root.1):
rules = {"download":{"1":1,"2":1,"12":1,"8":1}}

com_jdownloads.category.1 (id=9498):
rules = {"download":{"1":1,"2":1,"12":1,"8":1}}

So the assets table shows group 12 as explicitly Allowed (value=1), but the Debug Groups tool shows all actions as Denied. This is a direct contradiction.

5. jDownloads Options → Permissions

In the jDownloads backend Options → Permissions tab, the Formazione group has only one permission enabled: Download Files = Allowed.

6. Summary of the contradiction

xj7oe_assets: group 12 = explicitly Allowed (1)
jDownloads Options → Permissions: Formazione = Allowed
Joomla Debug Groups: all com_jdownloads actions = Denied (red)
Result: no user can download any file

This contradiction between the assets table and the Debug Groups output suggests either a broken ACL inheritance chain or a bug in how jDownloads 4.1.6 registers its permissions with Joomla's ACL system during installation on Joomla 5.4.7 / PHP 8.2.

Environment:

Joomla 5.4.7
jDownloads 4.1.6 (clean install, not upgrade)
PHP 8.2.30
MySQL 8.0.45
Windows/WAMP development environment
Migrated from Joomla 3.10 + jDownloads 3.9.8.7

Please let us know what additional information you need.

Thank you.