$pagecount = $pdf->setSourceFile($pdffile);
The above line is throwing the exception "This document ([file path]) probably uses a compression technique which is not supported by the free parser shipped with FPDI."
This is happening despite:
- the file existing (I logged $pdffile to ensure the path was correct and downloaded the pdf from that location to ensure validtiy)
- the file path being absolute (the path starts at the root of the server all the way to the file's location)
- the pdf version being 1.3
- the folder permissions for this file's directory and file being 777
- it working fine within the last few days (I'm assuming permissions got thrown off with some deployment, but I can find where or why)
Any thoughts? thanks.
FPDI: 1.6.1 TCPDF: 6.2.13