Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF file upload fails with 403 error #1652

Open
gjohncock opened this issue Sep 28, 2022 · 0 comments
Open

PDF file upload fails with 403 error #1652

gjohncock opened this issue Sep 28, 2022 · 0 comments

Comments

@gjohncock
Copy link

Hi,

Please find attached a PDF file. This file will not upload to Wordpress. The process fails with a 403 error. We have spent many hours trying to work out where the issue lies and it seems to be with the PDF file itself. We have many other PDF files with the same fonts and styles and those seem to upload without issue.

The file seems to upload ok but fails when the file is attempting to be reconstructed and/or saved. Please also find attached an image of the console that shows the failed request and the stack trace.

The PDF file has all fonts embedded and displays correctly on a range of computers and mobile devices.

Uploading the PDF file via PDF into the uploads folder then adding the file to the server via a plugin works fine.

I reverted the libraries to the non-min versions so you can see which lines the process is ultimately failing on.

We have tried uploading this file in different versions of Wordpress (5.8 and 6.0.2) from different computers and in different web hosting environments. We have also tried disabling all plugins and even creating a completely vanilla install of Wordpress.

The file is consistently rejected.

There was one exception, on my Dev computer the upload works, however I do have the Adobe suite installed on it.

We are hoping you can provide some concrete advice that to what exactly is the issue with this file.

Park Lake Brochure Final V2.pdf
plupload-fail-403-console-stack-trace

Let me know if you require any further information.

Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant