Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several PDF documents can not be processed #12

Open
allock opened this issue Oct 19, 2016 · 3 comments
Open

Several PDF documents can not be processed #12

allock opened this issue Oct 19, 2016 · 3 comments

Comments

@allock
Copy link

allock commented Oct 19, 2016

Hello, Paul!

Great thanks to You for your's tools!

I am using a package TCPDF-TCPDI to stamp PDF documents.

I've tested last versions of TCPDF and TCPDI on a large set of different PDF files.
There are several PDF documents which cause problems/errors. I attached this files.
A little comments.
1.
Documents DataDef.pdf and EmbedSql.pdf require too long time to be processed.
I obtain a message: " Fatal error: Maximum execution time of 180 seconds exceeded in D:\wwwroot\php-test\PDF_TESTER\tcpdf\tcpdi_parser.php on line 888".
Reasonable increasing of the value of "Maximum execution time" has no effect.
2.
Document APIGuide.pdf produces exception "TCPDF ERROR: Template does not exist!"
3.
Document P76[1].pdf produces the following notice
"Notice: Array to string conversion in D:\wwwroot\php-test\PDF_TESTER\tcpdf\tcpdi_parser.php on line 974" and exception "TCPDI_PARSER ERROR [pdfs2\P76[1].pdf]: Invalid object reference: Array"

I would be very grateful for your help!

APIGuide.pdf
DataDef.pdf
EmbedSQL.pdf
P76[1].pdf

@RafikHaceb
Copy link

add have noticed the same issues

@toneycoder
Copy link

and i have met the same issue 2

@littlepackage
Copy link

FWIW, at least with with two of the linked PDFs (EmbedSQL and P76[1]), I was able to "Export as PDF" using the Apple Preview desktop application, after which they all ran through TCPDI/TCPDF just fine. Preview tends to clean up messy PDF syntax nicely and can help with a lot of issues which TCPDI cannot handle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants