jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => General => Topic started by: AndreasM on 20.10.2023 08:38:59

Title: 403 Error while checking download area
Post by: AndreasM on 20.10.2023 08:38:59
Hello Arno,
since the upgrade to the new version (4) I get an 403 Error while checking the download area (Forbidden - You don't have permission to access this resource.., /administrator/components/com_jdownloads/helpers/scan.php).
Which directory rights must be set?
Kind regards, Andreas
Title: Re: 403 Error while checking download area
Post by: ColinM on 20.10.2023 10:56:04
Hi
Could you advise which Joomla version and which jD version please
Also when you get.an error could you please set up error reporting and copy the full error report - it is usually several lines that track the fault.

Go to System - Global Config- in System tab set Debug System to Yes. Then in Server tab set Error Reporting to Maximum.  Repeat the action that caused the problem and report.  Reset Error reporting to System Default and Debug System to No


Thanks
Colin
Title: Re: 403 Error while checking download area
Post by: AndreasM on 20.10.2023 12:45:59
Hello Colin,
it's the Joomla Version 4.4.0 and jDownloads Version 4.0.35 Stable. I use the Helix Ultimate Template.
When Reeror reporting ist on Maximum I get some "deprecated" warnings from the template. In the backend I only get the Error Message "Forbidden - You don't have permission to access this resource."

Kind regards,
Andreas
Title: Re: 403 Error while checking download area
Post by: ColinM on 20.10.2023 14:21:01
Andreas
The permissions should be, in octal, 0755 for directories and 0644 for files in a Linux or similar system in a user-group-owner scheme. The User is sometimes called the owner


So for a file the User/owner has read and write permission (6), group and others have read (4).
For directories the user/owner has execute, write and read permissions
If it is a Microsoft site it is more complex!
Colin
Title: Re: 403 Error while checking download area
Post by: Arno on 24.10.2023 11:54:27
Hi,
could you pleaser activate the Joomla debug option? See here: https://www.jdownloads.net/documentation/general-items-v3-9/turn-on-joomla-debug
Try it then again and post the more detailed error message. Thanks.
Title: Re: 403 Error while checking download area
Post by: rascreek on 06.11.2023 18:19:18
Hey guys.
I cope with the same Problem.
So the problem exists only in the backend while checking the download area for new files I cant use the debug function. At least I don“t know how in that case. So unfortunately I cant send any reports.
I use Joomla 4.4.0 with PHP 8.1.2.5 and MariaDB-10.4.31. jDownloads is installed in Version 4.0.36 stable.
When I start check download area for new files the following error shows up: Failes to load resource: the server responded with a status 403().
the file and folder permissions are set to 755 and 644 so that should be ok.

Any idea?

Thanks in advance