Skip to content
Advertisement

Tag: pdftotext

I want to convert pdf to text. but it gives me error. why spatie/pdf-to-text is showing error?

my code error message Fatal error: Uncaught SpatiePdfToTextExceptionsCouldNotExtractText: The command “”/usr/bin/pdftotext” simple.pdf -” failed. Exit Code: 1(General error) Working directory: C:xampphtdocspdf Output: ================ Error Output: ================ The system cannot find the path specified. in C:xampphtdocspdfvendorspatiepdf-to-textsrcPdf.php:73 Stack trace: #0 C:xampphtdocspdfvendorspatiepdf-to-textsrcPdf.php(84): SpatiePdfToTextPdf->text() #1 C:xampphtdocspdfindex.php(7): SpatiePdfToTextPdf::getText(‘simple.pdf’) #2 {main} thrown in C:xampphtdocspdfvendorspatiepdf-to-textsrcPdf.php on line 73 Answer pdftext is a .exe file located in your

Class ‘SpatiePdfToTextPdf’ not found [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 9 months ago. Improve this question I tried to keep running SpatiePdfToText. I have the following error: Class ‘SpatiePdfToTextPdf’

Advertisement