Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter kjbagnall

    (@kjbagnall)

    Hey thanks so much! It’s working great ??

    Thread Starter kjbagnall

    (@kjbagnall)

    sent ??

    Thread Starter kjbagnall

    (@kjbagnall)

    Hey,

    Thanks for the new update! The PDF button is now appearing, however, when I select a PDF it can’t seem to process past page 1. It just sits there saying “Processing page 1/44. Please keep this window open.” I waited over 10 minutes, and tried a different PDF, but no change.

    I’m not sure if this is a related issue or not.

    Let me know what you think ??

    Thread Starter kjbagnall

    (@kjbagnall)

    Hey,

    My host has suggested that I white-list your IP address for SSH Access so that you can have a look at the issue further. What address would you like me to use?

    Thank you ??

    Thread Starter kjbagnall

    (@kjbagnall)

    Hey,

    Hopefully this is what you need? ??
    From my host:

    I’ve run the below command under your service – homethreebag/public_html

    convert -background white -alpha remove -limit memory 32MiB -limit map 64MiB <path_to_wordpress>/wp-content/plugins/wp-booklet/assets/pdf/test.pdf <path_to_wordpress>/wp-content/uploads/2016/07/wp-booklet-test-579b4e360f57c.jpg

    Below is the output of the command when I ran it under homethreebag/public_html –

    ===========================================================================================================
    root@raphael [/home/threebag/public_html]# convert -background white -alpha remove -limit memory 32MiB -limit map 64MiB <path_to_wordpress>/wp-content/plugins/wp-booklet/assets/pdf/test.pdf <path_to_wordpress>/wp-content/uploads/2016/07/wp-booklet-test-579b4e360f57c.jpg
    [1] 920299
    -bash: lt: command not found
    [2] 920301
    -bash: path_to_wordpress: command not found
    -bash: gt: command not found
    [2]+ Exit 127 path_to_wordpress
    [2] 920303
    -bash: lt: command not found
    -bash: /wp-content/plugins/wp-booklet/assets/pdf/test.pdf: No such file or directory
    convert: UnrecognizedAlphaChannelType `remove’ @ error/convert.c/ConvertImageCommand/657.
    [2]+ Exit 127 /wp-content/plugins/wp-booklet/assets/pdf/test.pdf
    [2] 920305
    -bash: gt: command not found
    [1]- Exit 1 convert -background white -alpha remove -limit memory 32MiB -limit map 64MiB
    -bash: path_to_wordpress: command not found
    -bash: /wp-content/uploads/2016/07/wp-booklet-test-579b4e360f57c.jpg: No such file or directory
    [2]+ Exit 127 path_to_wordpress
    ===========================================================================================================

    Below is the output of the command when I ran the it under [/home/threebag] –

    ===========================================================================================================
    root@raphael [/home/threebag]# convert -background white -alpha remove -limit memory 32MiB -limit map 64MiB <path_to_wordpress>/wp-content/plugins/wp-booklet/assets/pdf/test.pdf <path_to_wordpress>/wp-content/uploads/2016/07/wp-booklet-test-579b4e360f57c.jpg
    [1] 920198
    convert: UnrecognizedAlphaChannelType `remove’ @ error/convert.c/ConvertImageCommand/657.
    -bash: lt: command not found
    [1]+ Exit 1 convert -background white -alpha remove -limit memory 32MiB -limit map 64MiB
    [1] 920200
    -bash: path_to_wordpress: command not found
    -bash: gt: command not found
    [1]+ Exit 127 path_to_wordpress
    [1] 920202
    -bash: /wp-content/plugins/wp-booklet/assets/pdf/test.pdf: No such file or directory
    -bash: lt: command not found
    [1]+ Exit 127 /wp-content/plugins/wp-booklet/assets/pdf/test.pdf
    [1] 920204
    -bash: path_to_wordpress: command not found
    -bash: gt: command not found
    [1]+ Exit 127 path_to_wordpress
    -bash: /wp-content/uploads/2016/07/wp-booklet-test-579b4e360f57c.jpg: No such file or directory
    ===========================================================================================================

    Let me know if you’ll need any further assistance.

    Thread Starter kjbagnall

    (@kjbagnall)

    Hello,

    I send the command you mentioned before to my host, and this is their response:
    the command you provided will not work on our server. However, from the command It seems your web-developer is trying to increase the php values like “memory limit”, “max_upload_limit” etc. which can be possible from cPanel.

    Do you think increasing these PHP values would solve the issue? What should they need to be set at?

    Thank you

    • This reply was modified 8 years, 2 months ago by kjbagnall.
    Thread Starter kjbagnall

    (@kjbagnall)

    I’ve noticed that the setting page has an additional line:

    Is PHP safe mode enabled? No

    Could this be the cause of the problem? My understanding is that PHP safe mode is basically redundant. Does it need to be enabled for PDF upload to work?
    Everything else looks fine, except the line telling me that there is an error somewhere:

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

    PHP version 5.3.29

    Ghostscript status GPL Ghostscript 8.70 (2009-07-31) Copyright (C) 2009 Artifex Software, Inc. All rights reserved.

    Imagemagick status Version: ImageMagick 6.7.2-7 2016-06-17 Q16 https://www.imagemagick.org Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC Features: OpenMP

    PDFInfo status pdfinfo version 0.12.4 Copyright 2005-2009 The Poppler Developers – https://poppler.freedesktop.org Copyright 1996-2004 Glyph & Cog, LLC

    Is uploads directory writable by web server? Yes

    Is PHP safe mode enabled? No

    The FAQ says PDF upload won’t work if one is missing or misconfigured. Obviously none are missing. So what’s the correct configuration? Or is something else the problem?

    Thread Starter kjbagnall

    (@kjbagnall)

    Hello @binarystash01,

    Thanks for getting back to me. I sent those details through to my host and here is their reply:

    “That command is not actually being recognized and just errors out”

    They’re wondering if there are any other dependencies required that aren’t listed in the FAQ (i.e. PDFInfo, Ghostscript, and Imagemagick).

    Any thoughts? ??

    Kyla Bagnall

    Hey @antongorodezkiy,

    I think I’m getting the same problem. I’m getting: “You have not yet converted the PDF. Note: it normally takes just 60 to 90 seconds for the conversion of small PDF file after submission. Thank you for your patience!” and “Import in progress 0%”, and I’ve been waiting days with nothing changing.

    I have all the plugin requirements:

    PHP is 5.3 or higher
    ImageMagick or GraphicsMagick PHP Extension is loaded
    Imagick or Gmagick PHP Wrapper is supported. v.GraphicsMagick 1.3.20 2014-08-16 Q8 https://www.GraphicsMagick.org/
    Imagick or Gmagick PDF Support is enabled
    GhostScript is supported. v.8.70
    Upload folder: …. is writable
    Logs folder: …. is writable

    Any thoughts on what could be the problem? ??

    Thanks in advance

Viewing 9 replies - 1 through 9 (of 9 total)