• I’m trying to use the plugin with my site. It is being hosted on a Windows Server 2012 R2 64bit box. I installed the 64 bit versions of Ghostscript, Imagemagick and pdfinfo (I replaced the 32bit version that was in the assets/bin folder). In the setting section, I see:

    Can your server convert PDF files? No. Please contact your server administrator. The information below may help in troubleshooting the problem.

    PHP version 5.6.27

    Ghostscript status GPL Ghostscript 9.20 (2016-09-26) Copyright (C) 2016 Artifex Software, Inc. All rights reserved.

    Imagemagick status Version: ImageMagick 7.0.3-5 Q16 x64 2016-10-31 https://www.imagemagick.org Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC License: https://www.imagemagick.org/script/license.php Visual C++: 180040629 Features: Cipher DPC Modules OpenMP Delegates (built-in): bzlib cairo flif freetype jng jp2 jpeg lcms lqr openexr pangocairo png ps rsvg tiff webp xml zlib

    PDFInfo status pdfinfo version 3.04 Copyright 1996-2014 Glyph & Cog, LLC

    Is uploads directory writable by web server? Yes

    Is PHP safe mode enabled? No

    I ran this code to test:
    convert -background white -alpha remove -limit memory 32MiB -limit map 64MiB D:\inetpub\wp-BMG\wp-content\plugins\wp-booklet\assets\pdf\test.pdf D:\inetpub\wp-BMG\wp-content\uploads\2016\11\wp-booklet-test.jpg

    And it created the jpg without any issues.

    I have version 2.1.8 of the plugin installed.

    Any clue why it’s not working?

Viewing 1 replies (of 1 total)
  • Thread Starter jimroma

    (@jimroma)

    My PHP version is 32bit, so I changed everything to 32bit. That changed this…

    Imagemagick status
    Version: ImageMagick 7.0.3-8 Q16 x86 2016-11-24 https://www.imagemagick.org Copyright: Copyright (C) 1999-2015 ImageMagick Studio LLC License: https://www.imagemagick.org/script/license.php Visual C++: 180040629 Features: Cipher DPC Modules OpenMP Delegates (built-in): bzlib cairo flif freetype jng jp2 jpeg lcms lqr openexr pangocairo png ps rsvg tiff webp xml zlib

    I ran the sample code again and it worked, but I still can’t see the upload button. I type in php -m and I see that the imagick module is loaded. I look at phpinfo and I see imagick settings loaded in there. Am I supposed to see pdfinfo or Ghostscript in there…because I don’t see them listed anyplace but your settings script.

    Anything else I should try?

Viewing 1 replies (of 1 total)
  • The topic ‘PDF Upload Button not appearing’ is closed to new replies.