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

RouteNotFoundException - 404 Error [SOLVED]

Started by baba, 20.08.2023 08:39:50

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

baba

Hello,
thanks for the great JDownloads component!

My environment:
OS: Debian 11
Joomla: 4,3,3
php: 8.2.8
Apache: 2.4.56
JDownloads: 4.0.29

I published the Jdownload latest module and there are files present in filesystem and in web-frontend (Joomla debug enabled)
but when i am trying to download a file i get a 404 error:


The requested page can't be found.
An error has occurred while processing your request.

You may not be able to visit this page because of:

an out-of-date bookmark/favourite
a mistyped address
a search engine that has an out-of-date listing for this site
you have no access to this page
Go to the Home Page


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

404 Page not found

Call stack
# Function Location
1 () JROOT/libraries/src/Router/Router.php:155
2 Joomla\CMS\Router\Router->parse() JROOT/libraries/src/Application/SiteApplication.php:746
3 Joomla\CMS\Application\SiteApplication->route() JROOT/libraries/src/Application/SiteApplication.php:232
4 Joomla\CMS\Application\SiteApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
5 Joomla\CMS\Application\CMSApplication->execute() JROOT/includes/app.php:61
6 require_once() JROOT/index.php:32

J! InfoRequestSessionProfileQueries58Log14MB92.4ms
errorerror - Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Page not found". Stack trace: #0 [ROOT]/libraries/src/Application/SiteApplication.php(746): Joomla\CMS\Router\Router->parse() #1 [ROOT]/libraries/src/Application/SiteApplication.php(232): Joomla\CMS\Application\SiteApplication->route() #2 [ROOT]/libraries/src/Application/CMSApplication.php(293): Joomla\CMS\Application\SiteApplication->doExecute() #3 [ROOT]/includes/app.php(61): Joomla\CMS\Application\CMSApplication->execute() #4 [ROOT]/index.php(32): require_once('...') #5 {main}
Search
error



I think all permissions for public are fine (defaults)
Any help is highly appreciated!  :)

Update:
The problem was caused by Layer 8  :) 
Solution:
The mandantory menu entry List All Categories (Default) was not published! After publishing the entry it looks fine!

  •