[wp-trac] [WordPress Trac] #48778: PDF Upload Bug in 5.3
WordPress Trac
noreply at wordpress.org
Fri Dec 6 16:10:16 UTC 2019
#48778: PDF Upload Bug in 5.3
-------------------------------+------------------------------
Reporter: cranstantinople | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version:
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Comment (by cranewest):
We are getting this error also. The server logs give us the following (I
took the domain and IP out):
[Sun Dec 01 01:26:24 2019] [error] **** Page has no /MediaBox attribute.
Using the current page size., referer: .../wp-admin/upload.php
[Sun Dec 01 01:26:24 2019] [error] malformed header from script. Bad
header= %interp_exit .runexec2 : async-upload.php, referer: .../wp-
admin/upload.php
[Sun Dec 01 01:26:24 2019] [error] GPL Ghostscript 8.70: Unrecoverable
error, exit code 1, referer: .../wp-admin/upload.php
It seems certain PDF generators don't include the /MediaBox attribute or
have some error in that attribute. Generating the PDF in a Acrobat will
produce a file that uploads without the error.
We found this post talking about a bug in the version of Ghostscript
running on our server: https://www.imagemagick.org/discourse-
server/viewtopic.php?t=15005
We're working on getting Ghostscript updated to see if that clears up the
issue.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48778#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list