jDownloads Support Forum

jDownloads for Joomla 4.x and 5.x => jDownloads 4.0 => General => Topic started by: MikaelBjors on 15.05.2024 23:50:32

Title: Error in Joomla 5, when uploading file - [solved]
Post by: MikaelBjors on 15.05.2024 23:50:32
I get this error when trying to upload a pdf, after upgrading site to Joomla 5:
499 attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/426
Is it a known bug?
Title: Re: Error in Joomla 5, when uploading file
Post by: ColinM on 16.05.2024 11:03:22
Hi
Have never seen this before!!    Maybe it is some pdf management facility you have on your site that is not compatible with Joomla 5

Could you advise which version of php and jDownloads you have.

Does this happen when uploading other types of file?

Colin
Title: Re: Error in Joomla 5, when uploading file
Post by: MikaelBjors on 16.05.2024 23:30:56
I tested a text file, and it uploaded without problem. So the pdf seems to be the problem.
Prior, with Joomla 4.4.4 and same php-version, it worked well.
It is the latest jDownload-version.
Title: Re: Error in Joomla 5, when uploading file
Post by: MikaelBjors on 16.05.2024 23:34:22
Details about the server, php and Joomla site
Title: Re: Error in Joomla 5, when uploading file
Post by: MikaelBjors on 17.05.2024 16:41:16
jDownloads Version 4.0.42 Stable
This is the latest, as I understand.
Title: Re: Error in Joomla 5, when uploading file
Post by: ColinM on 17.05.2024 16:55:23
How are you uploading the file?  Is it when creating a new Download or are you using the Files facility ?

How large is the failing PDF file?
Colin
PS Yes jD4.0.42 is the latest version
Title: Re: Error in Joomla 5, when uploading file
Post by: Arno on 17.05.2024 23:58:48
Hi,
I can upload a pdf file without any problems with Joomla 5 and jDownloads.

So for me it doesn't seem to be a jDownloads error. It's more likely a misconfiguration. The Imagemagick security policy doesn't seem to allow them to do this pdf to png conversion.

When you use the google search with the error message you should find a lot results and solutions. Or contact your hoster.
Title: Re: Error in Joomla 5, when uploading file - [not confirmed]
Post by: MikaelBjors on 19.05.2024 21:30:26
You where right Erno.

I had fallen for the temptation to create thumbnails of pdf-files.
As soon as I deactivated that it started working as normal :)

Thankyou
Title: Re: Error in Joomla 5, when uploading file - [solved]
Post by: Arno on 25.06.2024 13:42:45
Normally also the create thumbnails of pdf files schould work as expected. If the required extensions have been installed on the server and correctly configured by the hoster.  ;)