1st post, patience please.
I am attempting to utilize the Form Filling script from this link: http://www.fpdf.org/en/script/script93.php
to create a PDF of current users data from my database "merged" with a template PDF file.
I have installed the files, including the template PDF from the zip download onto my server and the example script runs works correctly when saved as a php file on my server. I get a new PDF with the array data merged into it.
When I try to embed the very same code into an article in Joomla after installing and enabling the DirectPHP plugin, it gives this error (before the Output even get to occur), then hangs:
FPDF-Merge Error: extract_pdf_definition_value() does not support definition '/Type'
If I comment out this merge line:
it processes properly and finishes, the new PDF file looks just like the template, but with blanks, no data merged.
Text from the error above is in the required fpdm.php file so I know it is being found/called/is running.
Any ideas what is the difference between running from a file at the root and in a Joomla article? Can I maybe comment out the code causing this error?
Thank you in advance for any advice!
I'm running Joomla 1.5.22 Stable, DirectPHP v1.56, No editor. PHP Version: 5.2.13 on Linux server.
PS. I have asked same question in the forum on fpdf.org. If I find answer, I'll gladly reply here and post a tip under DirectPHP section.