jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => Bugs! => Topic started by: baba on 20.08.2023 08:39:50

Title: RouteNotFoundException - 404 Error [SOLVED]
Post by: baba on 20.08.2023 08:39:50
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!