FPDI icon indicating copy to clipboard operation
FPDI copied to clipboard

Numeric value expected in setSourceFile()

Open random-webdeveloper opened this issue 3 years ago • 1 comments

when using $pdf->setSourceFile($url) on the attached document, the error "Numeric value expected" occurs This is also reproducable in this demo of yours: https://www.setasign.com/products/fpdi/demos/fpdi-pdf-parser/#p-210.5

Document: Ansicht_Süd-West.PDF

random-webdeveloper avatar Feb 16 '22 12:02 random-webdeveloper

This document is faulty. The internal reference to the pages root entry is set to the direct page: grafik

which leads to:

grafik

but the reference needs to be 30 0 R instead.

You should contact the author of the creation application so that they have a chance to fix it... if they haven't already done this in a newer version: The Producer is "SPIRIT 2010.00" which could be the year the software was released?

JanSlabon avatar Feb 16 '22 13:02 JanSlabon