PHP Classes

No HTML

Recommend this page to a friend!

      PHP PDF to HTML  >  All threads  >  No HTML  >  (Un) Subscribe thread alerts  
Subject:No HTML
Summary:Creates the folder but no content
Messages:4
Author:Craig Sheppard
Date:2017-11-28 05:56:59
 

  1. No HTML   Reply   Report abuse  
Picture of Craig Sheppard Craig Sheppard - 2017-11-28 05:56:59
Hi there,

This looks like a great class, really keen to get it working. No matter what I do it's not creating the HTML. It creates the folder, but comes up

Warning: file_get_contents(/home/securecycom/public_html/classes/TonchikTm/vendor/tonchik-tm/pdf-to-html/src/../output/5a1cf837b620f/test-1.html): failed to open stream: No such file or directory in /home/securecycom/public_html/classes/TonchikTm/vendor/tonchik-tm/pdf-to-html/src/Pdf.php on line 154

which of course throws an error from emogrify cause there's no content.

Installed through composer, poppler utils is installed, double checked the location of the utils, on php5.6

Any help is much appreciated. Thanks in advance.

Craig

  2. Re: No HTML   Reply   Report abuse  
Picture of Craig Sheppard Craig Sheppard - 2017-11-28 05:58:00 - In reply to message 1 from Craig Sheppard
Should mention the pdfInfo and count pages are working perfectly.

  3. Re: No HTML   Reply   Report abuse  
Picture of Richard Richard - 2018-03-19 13:14:50 - In reply to message 2 from Craig Sheppard
Hi Craig, I have exactly the same problem. Did you find a solution?

Thanks!

  4. Re: No HTML   Reply   Report abuse  
Picture of Richard Richard - 2018-03-19 13:36:02 - In reply to message 3 from Richard
My issue has been solved by renaming the source pdf lower cased. Think it forgot the source was .PDF and was searching for .pdf