PDF by mPDF don't work on server

I create several PDF files that work very well on localhost, but as soon as I put on my server (with all mPDF files normally), it tells me the message that I can’t open it! (sorry for my bad english)

(E.g. : https://www.schoolmore.cf/PDF/pagetest.php )

Thank you very much to those who will help me !


and if I download that pdf document
I see a bunch of HTML code - which must not be part of the PDF document
that’s why it’s not valid !

somewhere in your code something is wrong
I hope Cloudflare doesn’t play a role here


Thank you very much! You’re saving my life!

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.