News:

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

Main Menu
Support-Forum

*** URGENT - Help for redirecting user to correct download. - [Fixed in 4.0.51]

Started by ArticosDesign, 16.02.2026 18:38:32

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ArticosDesign

Hello,

I have a significant problem: In Joomla 5, using the JDownloads component, when I generate a download within a category, it works correctly. Then, I send an email with the download path to a client. The client clicks the download link, and it takes them to the website where they receive an error message stating they don't have permission to download. The Joomla login form is then displayed, and the client logs in. However, instead of being taken directly to the download, they are taken to the category homepage.

How can I solve this problem? I want the client to be taken directly to the original download link I sent them via email once they are correctly logged in.

This is an example of the type of link the client receives via email:

https://mysite.com/newsite/es/todas-las-descargas?task=download.send&id=11137:calidad-y-seguridad-laboral-02-07-01-26-prl-envejecimiento-activo-2025&catid=240

Could this be related to SEO?

This is URGENT for me. Any guidance would be greatly appreciated.

Best regards.
Best Regards,
  •  

Arno

This appears to be a bug.

If your version is already 4.0.51, try the attached file. Otherwise, first update to this version.

Then copy the file to JOOMLA_ROOT/components/com_jdownloads/src/Controller/ using an FTP programme and overwrite the old file.

File removed - use the new file in the last posting!
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

ArticosDesign

Quote from: Arno on 18.02.2026 16:39:11This appears to be a bug.

If your version is already 4.0.51, try the attached file. Otherwise, first update to this version.

Then copy the file to JOOMLA_ROOT/components/com_jdownloads/src/Controller/ using an FTP programme and overwrite the old file.

Thanks Arno,
I'll try it as soon as possible, to see if that's it, the truth is that my client is desperate.
Thank you so much for your help.
I have sent you a donation.

Thank you very much, I'll let you know if it works properly again.

Kind regards.
Best Regards,
  •  

ArticosDesign

Quote from: Arno on 18.02.2026 16:39:11This appears to be a bug.

If your version is already 4.0.51, try the attached file. Otherwise, first update to this version.

Then copy the file to JOOMLA_ROOT/components/com_jdownloads/src/Controller/ using an FTP programme and overwrite the old file.

Hi Arno,

My current Joomla version is 5.4.2 (5.4.3 has just been released, and I'm not sure if we should update to it).

I performed a clean installation of JDownloads (I deleted the database tables, the entire component, and all plugins; I only kept the images so they wouldn't have to be regenerated).

However, an error occurred, which you can see the image screenshot.

Apparently, JDownloads was installed anyway. I'm now going to copy the entire JDownloads folder from Joomla 3.10.12, where JDownloads 3.9.8.7 was already installed, and try to regenerate all the categories and downloads in the new Joomla installation to see if that works.

Any suggestions?

Thanks a lot.
Best Regards,
  •  

ArticosDesign

Quote from: ArticosDesign on 18.02.2026 21:48:55Thanks Arno,
I'll try it as soon as possible, to see if that's it, the truth is that my client is desperate.
Thank you so much for your help.
I have sent you a donation.

Thank you very much, I'll let you know if it works properly again.

Kind regards.

Hi Arno,

Fail install of Jdownloads in a clean joomla 5.4.2, with php 8.2.

I can't uninstall the latest version of JDownloads!

After installation, I'm getting the errors I showed you in the previous post.

It's urgent to resolve this. How can I remove the components, plugins, and tables? (I understand there's a problem installing the latest version of JDownloads, causing a failed installation that prevents access to the files, the content, and especially the uninstallation of the component.)

Best regards
Best Regards,
  •  

Arno

Hi,
So, if I understand you correctly, you tried to install jDownloads 4.0.51 on a "fresh" Joomla 5.4.2 installation and received the above error?

And now you want to try copying the files from the /jdownloads upload directory of the other installation and then importing them with the monitoring/scan function?

First of all, I would advise you to uninstall the faulty installation.
I just performed another installation test and was unable to reproduce your error.  ::)

Edit:
Alternatively, you could check whether the default values are present in the options.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

ArticosDesign

Quote from: Arno on 19.02.2026 13:02:35Hi,
So, if I understand you correctly, you tried to install jDownloads 4.0.51 on a "fresh" Joomla 5.4.2 installation and received the above error?

And now you want to try copying the files from the /jdownloads upload directory of the other installation and then importing them with the monitoring/scan function?

First of all, I would advise you to uninstall the faulty installation.
I just performed another installation test and was unable to reproduce your error.  ::)

Edit:
Alternatively, you could check whether the default values are present in the options.

Hi Arno, i response from your questions.

1. If I understand you correctly, you tried to install jDownloads 4.0.51 on a fresh Joomla 5.4.2 installation and received the error above.

Yes, I installed a clean, fresh version of Joomla 5.4.2 on PHP 8.2, and that worked perfectly.

But when installing jDownloads 4.0.51, the errors I showed you appeared.


2. And now you want to try copying the files from the /jdownloads upload directory of the other installation and then importing them using the monitoring/scanning function?
That's right, I think that's the best option to have jDownloads regenerate everything completely; categories and downloads. I've kept the images intact so I don't have to generate them again. I also don't use any tags.

3. First of all, I recommend that you uninstall the faulty installation.

This is what Joomla won't let me do. As you can see in the screenshot I sent you earlier, when I try to uninstall the JDownloads component, I get this error (I understand it comes from the initial faulty installation that I also attached, and that some other users in this same bug forum have reported). It won't let me uninstall the component; however, it appears as installed in the components menu, but none of the menu options work; they all give an error.

Now I'm trying to recover a backup of that installation, which worked fine before I installed JDownloads version 4.0.51, and also the database.

What do you recommend I do? I suppose the problem is the same, or at least it happens to some users like me. These two error messages appear:

In orange: * You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '70%\\' align=\\'center\\' cellspacing=\\'0\\' cellpadding=\\'20\\' border=\\'...' at line 1

In red * Error installing component

Best regards
Best Regards,
  •  

ArticosDesign

Quote from: Arno on 19.02.2026 13:02:35Hi,
So, if I understand you correctly, you tried to install jDownloads 4.0.51 on a "fresh" Joomla 5.4.2 installation and received the above error?

And now you want to try copying the files from the /jdownloads upload directory of the other installation and then importing them with the monitoring/scan function?

First of all, I would advise you to uninstall the faulty installation.
I just performed another installation test and was unable to reproduce your error.  ::)

Edit:
Alternatively, you could check whether the default values are present in the options.

Paste log install UPDATE:

2026-02-19 14:21:00 INFO ------------------------------------------------------ System Information
2026-02-19 14:21:00 INFO OS : Linux v
2026-02-19 14:21:00 INFO PHP : 8.2.30
2026-02-19 14:21:00 INFO MySQL : 10.11.16-MariaDB-deb11-log
2026-02-19 14:21:00 INFO Joomla! : 5.4.3
2026-02-19 14:21:00 INFO Debug :
2026-02-19 14:21:00 INFO Debug Language :
2026-02-19 14:21:00 INFO Error Reporting : none
2026-02-19 14:21:00 INFO SEF : 1
2026-02-19 14:21:00 INFO Unicode Aliases :
2026-02-19 14:21:00 INFO System Cache : 0
2026-02-19 14:21:00 INFO Captcha : recaptcha_invisible
2026-02-19 14:21:00 INFO ------------------------------------------------------ Update Started
2026-02-19 14:21:00 INFO File with incorrect name: [ROOT]/components/com_jdownloads/src/Helper/legacyrouter.php not found.
2026-02-19 14:21:01 INFO Update started by user WebMaster (571). Old version is 4.0.50. New version is 4.0.51 Stable.
2026-02-19 14:21:02 INFO Modules succesfully installed/updated: 12.
2026-02-19 14:21:03 INFO Plugins succesfully installed/updated: 6.
2026-02-19 14:21:03 INFO Additional index `idx_catid_extra` exists already in jdownloads_files table.
2026-02-19 14:21:03 INFO ------------------------------------------------------ Update Finished

This new UPDATE of jdownloads 4.0.51 from old backup work, but i first need UPDATE to Joomla 5.4.3

** I need test if the direct downloads work good from email, when the new file UPLOAD to the private user groups.

I maintain informed about this.

Regards
Best Regards,
  •  

Arno

So that's how things are going for you at the moment?

Sorry, I couldn't go online yesterday.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Arno

This issue is finally fixed.

Use this File below when you have already 4.0.51 installed before today. Then copy the file to JOOMLA_ROOT/components/com_jdownloads/src/Controller/ using an FTP programme and overwrite the old file.

Or much easier, download and install again the release 4.0.51.  ;)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!

ArticosDesign

Quote from: Arno on 21.02.2026 22:56:22This issue is finally fixed.

Use this File below when you have already 4.0.51 installed before today. Then copy the file to JOOMLA_ROOT/components/com_jdownloads/src/Controller/ using an FTP programme and overwrite the old file.

Or much easier, download and install again the release 4.0.51.  ;)

Yes, SOLVED!

Thank you for support Arno!

Best Regards
Best Regards,
  •  

Arno

Hi,
I'm glad it's working now.

I would appreciate a fair review on joomla.org. See link below.  ;)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!