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

Multilingual Report a Download Fails - [Fixed in 4.0.17]

Started by ColinM, 07.02.2023 14:30:00

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ColinM

When using the report a download in jD4.0.15  it gives the following error

f difficulties persist, please contact the website administrator and report the error below.

    0 Class "JDownloads\Component\JDownloads\Site\Model\Text" not found

Call stack
#    Function    Location
1    ()    JROOT\components\com_jdownloads\src\Model\ReportModel.php:166
2    JDownloads\Component\JDownloads\Site\Model\ReportModel->send()    JROOT\components\com_jdownloads\src\Controller\ReportController.php:82
3    JDownloads\Component\JDownloads\Site\Controller\ReportController->send()    JROOT\libraries\src\MVC\Controller\BaseController.php:672
4    Joomla\CMS\MVC\Controller\BaseController->execute()    JROOT\libraries\src\Dispatcher\ComponentDispatcher.php:143
5    Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()    JROOT\components\com_jdownloads\src\Dispatcher\Dispatcher.php:55
6    JDownloads\Component\JDownloads\Site\Dispatcher\Dispatcher->dispatch() JROOT\libraries\src\Component\ComponentHelper.php:355
7    Joomla\CMS\Component\ComponentHelper::renderComponent()    JROOT\libraries\src\Application\SiteApplication.php:200
8    Joomla\CMS\Application\SiteApplication->dispatch()    JROOT\libraries\src\Application\SiteApplication.php:241
9    Joomla\CMS\Application\SiteApplication->doExecute()    JROOT\libraries\src\Application\CMSApplication.php:294
10    Joomla\CMS\Application\CMSApplication->execute()    JROOT\includes\app.php:61
11    require_once()                                                           JROOT\index.php:32
Colin M
  •  

Arno

Okay, I think I could fix it with 4.0.17.
Should be published tomorrow.

By the way, this was an error that did not only occur with multilingual websites.

Interests user can test the attached file (the unzipped file ReportModel.php must be copied to FRONTEND/components/com_jdownloads/src/Model/)
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •