pdf-to-html
pdf-to-html copied to clipboard
error while trying to run
Fatal error: Uncaught exception 'Exception' with message 'You're asking to go to page 1 but max page of this document is 0' in C:\xampp\htdocs\ph\src\Html.php:63 Stack trace: #0 C:\xampp\htdocs\ph\src\Html.php(57): Gufy\PdfToHtml\Html->goToPage(1) #1 C:\xampp\htdocs\ph\src\Html.php(16): Gufy\PdfToHtml\Html->getContents('test.pdf') #2 C:\xampp\htdocs\ph\src\Pdf.php(56): Gufy\PdfToHtml\Html->__construct('test.pdf') #3 C:\xampp\htdocs\ph\src\Pdf.php(61): Gufy\PdfToHtml\Pdf->getDom() #4 C:\xampp\htdocs\ph\index.php(9): Gufy\PdfToHtml\Pdf->html() #5 {main} thrown in C:\xampp\htdocs\ph\src\Html.php on line 63
Have you installed poppler-utils on Windows?
Notice: Undefined index: pages in C:\xampp\htdocs\pdf_to_html\vendor\gufy\pdftohtml-php\src\Pdf.php on line 70
Fatal error: Uncaught Exception: You're asking to go to page 1 but max page of this document is 0 in C:\xampp\htdocs\pdf_to_html\vendor\gufy\pdftohtml-php\src\Html.php:63 Stack trace: #0 C:\xampp\htdocs\pdf_to_html\vendor\gufy\pdftohtml-php\src\Html.php(57): Gufy\PdfToHtml\Html->goToPage(1) #1 C:\xampp\htdocs\pdf_to_html\vendor\gufy\pdftohtml-php\src\Html.php(16): Gufy\PdfToHtml\Html->getContents('file.pdf') #2 C:\xampp\htdocs\pdf_to_html\vendor\gufy\pdftohtml-php\src\Pdf.php(56): Gufy\PdfToHtml\Html->__construct('file.pdf') #3 C:\xampp\htdocs\pdf_to_html\vendor\gufy\pdftohtml-php\src\Pdf.php(61): Gufy\PdfToHtml\Pdf->getDom() #4 C:\xampp\htdocs\pdf_to_html\index.php(14): Gufy\PdfToHtml\Pdf->html() #5 {main} thrown in C:\xampp\htdocs\pdf_to_html\vendor\gufy\pdftohtml-php\src\Html.php on line 63
is there a solution to this problem
There must be a problem with the file path of the pdf file you want to convert.
Notice: Undefined index: pages in C:\xampp\htdocs\pdf_to_html\vendor\gufy\pdftohtml-php\src\Pdf.php on line 70
Fatal error: Uncaught Exception: You're asking to go to page 1 but max page of this document is 0
hii mgufrone please help me. for pdf to html parsing.
You're asking to go to page 1 but max page of this document is 0
while trying to convert my pdf file i have go this following error :
2019-02-12 11:04:51 Notice: Notice (8): Undefined index: pages in [C:\xampp\htdocs\optimus-invoices - Mahmoud Modiifcation\vendor\tonchik-tm\pdf-to-html\src\Pdf.php, line 82] Request URL: /files/secure/146 Referer URL: http://localhost:8765/documents/index Trace:
i dont't know what to do ... can someone help me please ??