• Resolved finetf

    (@finetf)


    Hi,

    When I want to edit a PDF, I have the following messages :

    Usage
    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!

    But conversion don’t happen…

    and also:
    PDF Preview
    [pdf-light-viewer] shortcode cannot be rendered due to the error: No converted pages found

    Is there a solution ?

    thanks!

    https://wordpress.org/plugins/pdf-light-viewer/

Viewing 15 replies - 1 through 15 (of 15 total)
  • I have the same problem…

    http://postimg.org/image/c0tnqa3a3/

    Plugin Author antongorodezkiy

    (@antongorodezkiy)

    Hello @finetf, @mistac

    Could you please check PDF Light Viewer plugin’s error log folder ( /wp-content/pdf-light-viewer-logs ) on your server and share existing error logs with us via support@teamlead.pw. Main site’s error_log also will be helpful. Thank you

    mitsubishi

    (@mitsubishi)

    My problem is: Import process failed due to the error: SyntaxError: JSON.parse: unexpected character at line 2 column 1 of the JSON data
    Help me.

    Plugin Author antongorodezkiy

    (@antongorodezkiy)

    Hello @mitsubishi,

    This usually means that some PHP error occurred on the server side during the import process.

    If this possible, please check your site error log and share it with us ( you could send it to the support@teamlead.pw ). Also the fastest way would be to give me some temporary access so I could check the issue by myself. In this case please send credentials to the support@teamlead.pw.

    Thanks

    igrossiter

    (@igrossiter)

    Hi, I have the same problem, gonna check the logs and post anything relevant here.

    mitsubishi

    (@mitsubishi)

    I am waiting for a solution and once this happens will write.

    igrossiter

    (@igrossiter)

    I got the error log from my host company and found these two errors
    … PHP message: PHP Warning: set_time_limit() has been disabled for security reasons in /…/wp-content/plugins/pdf-light-viewer/controllers/PdfController.php on line 505, referer: (admin url)
    … PHP message: PHP Fatal error: Call to undefined method Imagick::transformImageColorspace() in /…/wp-content/plugins/pdf-light-viewer/controllers/PdfController.php on line 602, referer: (admin url)

    Imagick seems to be installed correctly as I can see on the plugin requirements area https://i.imgur.com/yFr21yz.png

    Is the set_time_limit essential? it seems to be disabled for security purposes on my host.

    Plugin Author antongorodezkiy

    (@antongorodezkiy)

    For all future readers of this post,

    @mitsubishi got PHP error:
    Fatal error: Call to undefined method Imagick::transformImageColorspace() during the import process.

    This function was added in ImageMagick version 6.5.2 + PECL Imagick version 3.0.0. So these minimal packages versions are required to make plugin work.

    Plugin Author antongorodezkiy

    (@antongorodezkiy)

    @igrossiter I believe you have similar issue. Unfortunately this issue cannot be fixed from our side, because ImageMagick is a critical dependency to make PDF Light Viewer plugin work but it could be installed (or upgraded) only from the server side.

    igrossiter

    (@igrossiter)

    no problem, thank you, I’m talking with my host company.

    igrossiter

    (@igrossiter)

    updating the ImageMagick version on the server solved the problem, thank you again!

    Plugin Author antongorodezkiy

    (@antongorodezkiy)

    @igrossiter glad to hear that!

    Plugin Author antongorodezkiy

    (@antongorodezkiy)

    @finetf if you still have this issue please open another ticket or email us to the support@teamlead.pw. Thank you.

    I got a error with detail: Uncaught exception ‘ImagickException’ with message ‘PDFDelegateFailed `[ghostscript library] -q -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 “-sDEVICE=pngalpha” -dTextAlphaBits=4 -dGraphicsAlphaBits=4 “-r72x72” “-sOutputFile=/tmp/magick-97335zt9jDPV9oYdL%d” “-f/tmp/magick-97335l9JYt7QCqCvV” “-f/tmp/magick-97335-KqUE_hCorN5″‘: -dname= must be followed by a valid token.
    Please support me to fix it.
    here is my plugin requirements:
    http://i.imgur.com/ulzoViu.png

    Plugin Author antongorodezkiy

    (@antongorodezkiy)

    Hello @dtlspkt,

    In some cases this issue could appear when users try to convert new PDFs with old versions of ImageMagick and Ghostscript libraries.

    We’ve already got similar error reports. In few cases the issue was related to the old software versions.

    Ghostscript library is used by PDF Light Viewer plugin to convert PDF to JPG. Your version of Ghostscript is 8.70 which was released about 7 years ago in 2009 ( http://ghostscript.com/doc/current/History8.htm ) but PDF which you try to import could have some format differences since 2009.

    So my first suggestion for now is to upgrade Ghostscript if possible.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘It doesn't work….’ is closed to new replies.