This project is read-only.

Error with no explanation


Error produced:

Fatal error: Uncaught exception 'Exception' with message 'Error outputting PDF to 'file'.' in C:\inetpub\wwwroot\iQForms894_special\iQagentLibrary\libs\PDFMerger\PDFMerger.php:124 Stack trace: #0 C:\inetpub\wwwroot\iQForms894_special\output\forms\test_pdf_multipage_out\page3.php(41): PDFMerger->merge('file', 'Always_Saved/rq...') #1 {main} thrown in C:\inetpub\wwwroot\iQForms894_special\iQagentLibrary\libs\PDFMerger\PDFMerger.php on line 124

Code producing this error:

$pdf = new PDFMerger;

$sequence_count = count($_SESSION['pdf_merge_sequence']);
for ($x = 0; $x <= $sequence_count-2; $x++) {
$pdf->addPDF(get_file_name(), 'all');

$pdf->merge('file', get_merged_file_name());


josephgill wrote Aug 19, 2016 at 10:26 PM

$pdf1 = new PDFMerger;

->merge('file', 'samplepdfs/TEST2.pdf');

The above code provided with the sample also does not work. Moving to another library. Too many obvious bugs.

josephgill wrote Aug 19, 2016 at 10:29 PM

0 errors are produced when the merging is set to 'download' instead of 'file'. Please figure this out and fix it.