Can’t get it to work
-
Hi, I’ve tried setting up the plugin both on a shared server through my web host and on a local ampps installation and can’t get any PDF to process. I’ve tried multiple files. Here is what gets printed out on the page after I hit upload:
File uploaded successfully! C:\Program Files (x86)\Ampps\www\wp/wp-content/uploads/2019/02/POMONA-3.pdf
pdfimages -png C:\Program Files (x86)\Ampps\www\wp/wp-content/uploads/2019/02/POMONA-3.pdf C:\Program Files (x86)\Ampps\www\wp/wp-content/uploads/2019/02/POMONA-3_out/_images
Ok
pdf2txt.py -o C:\Program Files (x86)\Ampps\www\wp/wp-content/uploads/2019/02/POMONA-3_out/POMONA-3.txt C:\Program Files (x86)\Ampps\www\wp/wp-content/uploads/2019/02/POMONA-3.pdf
Ok( ! ) Warning: file_get_contents(C:\Program Files (x86)\Ampps\www\wp/wp-content/uploads/2019/02/POMONA-3_out/POMONA-3.txt): failed to open stream: No such file or directory in C:\Program Files (x86)\Ampps\www\wp\wp-content\plugins\pdf2post\pdf2post.php on line 516
Call Stack
# Time Memory Function Location
1 0.0027 226496 {main}( ) …\edit.php:0
2 0.0045 271448 require_once( ‘C:\Program Files (x86)\Ampps\www\wp\wp-admin\admin.php’ ) …\edit.php:10
3 0.6093 20963232 do_action( ) …\admin.php:224
4 0.6093 20963672 WP_Hook->do_action( ) …\plugin.php:453
5 0.6093 20963720 WP_Hook->apply_filters( ) …\class-wp-hook.php:310
6 0.6093 20964192 call_user_func_array:{C:\Program Files (x86)\Ampps\www\wp\wp-includes\class-wp-hook.php:286} ( ) …\class-wp-hook.php:286
7 0.6093 20964440 PDF2Post->pdf2post_upload_page( ) …\class-wp-hook.php:286
8 0.6093 20964656 PDF2Post->handle_pdf( ) …\pdf2post.php:48
9 0.6507 20967928 PDF2Post->pdf2postFromAbsFile( ) …\pdf2post.php:367
10 1.0311 20971296 file_get_contents ( )And here is the bit about libraries:
The following libraries NEED to be installed on your server :
ZipArchive Ok
PDFMiner
Python
Not installed!
pdfimagesI’ve got python running and I’ve downloaded xpdf tools and added the path to it but it still doesn’t seem to want to find pdfimages. At least that’s what I assume part of the issue is since the other things appear to be installed (even though it only says OK next to ZipArchive).
I’m not sure how to proceed but as yours is the only plugin that I’ve found that converts PDF to posts I really would like to find a way to make it work.
Thanks for your help!
The page I need help with: [log in to see the link]
- The topic ‘Can’t get it to work’ is closed to new replies.