News:

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

Main Menu
Support-Forum

Download button goes to "The requested page can't be found' - [Fixed in 4.0.36]

Started by WildLynxPilot, 22.10.2023 17:10:43

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

WildLynxPilot

The site has worked fine up until now. It is running on Joomla 4.4.0, PHP 8.2.10 and jDownloads 4.0.35.  I updated Joomla to 4.4.0 and jDownloads to 4.0.35 a couple of days ago. Now today I got a message from somebody who tried to download telling me that the downloads do not work. I checked the download area in jDownloads - no problems. I cleared the cache in Joomla. Did not help.

The site is at https://fsaddons.fi  Everything else works, but when you select any downloadable item and click the download button it ends up in a "The requested page can't be found" and on that page it also says 

"If difficulties persist, please contact the website administrator and report the error below.
0 Call to undefined function HTMLHelper() "

Any ideas what I can do about this problem?
  •  

ColinM

Hi
Tried to look at site but it is not 'open'.
Try reinstalling jD4.0.35 whilst site is 'quiet'.  If it is very busy, especially with large downloads, you may have had a timeout.

Also to get a full error trace go to System - select Global Config. On Server tab set Error Reporting to Maximum

Colin
Colin M
  •  

WildLynxPilot

What do you mean by "not open"?  All downloads should be quite publicly available. I now tried to reinstall 4.0.35 but get this error:

Duplicate entry '99-1-com-jdownloads-custom-fields-' for key 'idx_client_id_parent_id_alias_language'
(Disregard this error. This was probably due to some admintools setting in the htaccess file. See new post below.)
  •  

WildLynxPilot

This is the errormessage when maximum reporting and debugging are active:

  •  

WildLynxPilot

I changed the .htaccess to the default one and managed to reinstall 4.0.35, but the problem still persist. The site is very quiet so should not be a timeout problem.
  •  

WildLynxPilot

Switched on the Log almost everything, tried the download button on one of the downloads, and this is what is in the logfile:

2023-10-22T16:56:36+00:00   CRITICAL 88.112.48.114   error   Uncaught Throwable of type Error thrown with message "Call to undefined function HTMLHelper()". Stack trace: #0 [ROOT]/libraries/src/MVC/View/HtmlView.php(415): include()
#1 [ROOT]/libraries/src/MVC/View/HtmlView.php(203): Joomla\CMS\MVC\View\HtmlView->loadTemplate(NULL)
#2 [ROOT]/components/com_jdownloads/src/View/Summary/HtmlView.php(269): Joomla\CMS\MVC\View\HtmlView->display(NULL)
#3 [ROOT]/libraries/src/MVC/Controller/BaseController.php(660): JDownloads\Component\JDownloads\Site\View\Summary\HtmlView->display()
#4 [ROOT]/components/com_jdownloads/src/Controller/DisplayController.php(123): Joomla\CMS\MVC\Controller\BaseController->display(true, Array)
#5 [ROOT]/libraries/src/MVC/Controller/BaseController.php(693): JDownloads\Component\JDownloads\Site\Controller\DisplayController->display()
#6 [ROOT]/libraries/src/Dispatcher/ComponentDispatcher.php(143): Joomla\CMS\MVC\Controller\BaseController->execute('display')
#7 [ROOT]/components/com_jdownloads/src/Dispatcher/Dispatcher.php(60): Joomla\CMS\Dispatcher\ComponentDispatcher->dispatch()
#8 [ROOT]/libraries/src/Component/ComponentHelper.php(361): JDownloads\Component\JDownloads\Site\Dispatcher\Dispatcher->dispatch()
#9 [ROOT]/libraries/src/Application/SiteApplication.php(208): Joomla\CMS\Component\ComponentHelper::renderComponent('com_jdownloads')
#10 [ROOT]/libraries/src/Application/SiteApplication.php(249): Joomla\CMS\Application\SiteApplication->dispatch()
#11 [ROOT]/libraries/src/Application/CMSApplication.php(293): Joomla\CMS\Application\SiteApplication->doExecute()
#12 [ROOT]/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute()
#13 [ROOT]/index.php(32): require_once('/home2/ucdcqwoq...')
#14 {main}

  •  

WildLynxPilot

I reverted my site to the working version from the backup copies. Now it is running Joomla 4.3.4 and jDownloads 4.0.27 and working perfectly. I do not dare to update Joomla nor the jDownloads right now... :P

Does anybody have ideas from the information above on what could have caused the problems?
  •  

Arno

Hi,
sorry for the problems with some from the last updates.  ::)

I hope that this can be avoided in future ones.
Unfortunately, the very rapid release of Joomla 5 has put me under time pressure. This is also at the expense of more detailed tests.

I will try to fix the reported bugs quickly. As well as the bugs I already know about (which I am already working on).

In your case should help this uploaded fix:
https://www.jdownloads.com/forum/index.php?topic=14098.msg50285#msg50285
Please try this or wait on the new version.

I will publish a new version today in which this error is also fixed.
The Joomla 5 update unfortunately removes the previously used reCaptcha plugin v2 and only offers the plugin v3. However, the integration of this plugin has not yet been completed in all parts of jDownloads. So at the moment this cannot be used to protect the download process from bots. I hope to be able to complete this this week.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

WildLynxPilot

Excellent, thank you! Good to hear that the problem is found and fixed. I will wait for the new version before I update!
  •