News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

PHP error after updating to jD 4.0.16 Beta - [Fixed in 4.0.19]

Started by Jefferson49, 08.02.2023 21:08:35

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jefferson49

  - Joomla: 4.2.7
  - jD: 4.0.16 Beta
  - PHP: 8.0.23
  - Backend template:
  - New Joomla 4 installation

After updating from jD 3.9 to jD 4.0.16 Beta, and clicking on the "Start jDownloads" button, a PHP error occured, see below. None of the jDownload extensions were activated. After activating the 4.0 extensions, the error disappeared and jD seems to work.

One reason might be, that at update time the "Upload directory path" was set to a wrong value.

error - Uncaught Throwable of type Joomla\CMS\Component\Exception\MissingComponentException thrown with message "Component not found.". Stack trace: #0 [ROOT]/libraries/src/Application/AdministratorApplication.php(143): Joomla\CMS\Component\ComponentHelper::renderComponent('com_jdownloads') #1 [ROOT]/libraries/src/Application/AdministratorApplication.php(186): Joomla\CMS\Application\AdministratorApplication->dispatch() #2 [ROOT]/libraries/src/Application/CMSApplication.php(294): Joomla\CMS\Application\AdministratorApplication->doExecute() #3 [ROOT]/administrator/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute() #4 [ROOT]/administrator/index.php(32): require_once('/volume1/web/jo...') #5 {main}
  •  

Arno

Hi,
QuoteNone of the jDownload extensions were activated.
I think this might be the cause of your problem. How is an extension supposed to work if it is disabled? Or have I misunderstood something?  ::)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Jefferson49

I reported the issue, because a PHP error was thrown. This should not be the case, even if the extension is deactivated or some of the settings are outdated.

The root cause for the PHP error might have been the deactivated extensions or a wrong path for the "files_uploaddir", "root_dir" settings.
  •  

Arno

Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •