WordPress.org

Forums

WP Booklet
[resolved] Unknown error when uploading a PDF (11 posts)

  1. Edi Goetschel
    Member
    Posted 1 year ago #

    When I try to upload a PDF I get the message "An unknown error occured." No idea what could cause this...

    Uploading a PDF to the server works fine.

    https://wordpress.org/plugins/wp-booklet/

  2. binarystash01
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Please paste the text under Booklet->Settings->Server Environment so I can help you diagnose the problem.

    Thanks!

  3. Edi Goetschel
    Member
    Posted 1 year ago #

    The server environment is the following:

    Can your server convert PDF files?
    Yes. You're all set.

    Ghostscript status
    GPL Ghostscript 9.06 (2012-08-08) Copyright (C) 2012 Artifex Software, Inc. All rights reserved.

    Imagemagick status
    Version: ImageMagick 6.8.0-7 2013-04-25 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC Features:

    Is uploads directory writable by web server?
    Yes

  4. binarystash01
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    It is possible that your "uploads" directory is restricted. You may temporarily set the permission to 777 and retry.

    Please also read http://codex.wordpress.org/Changing_File_Permissions.

    Thanks!

  5. Edi Goetschel
    Member
    Posted 1 year ago #

    It works with images but not with PDF. I tried also on a server of another host, but encountered the same problem. To clarify: The upload itself works, but to add a PDF to a booklet fails.

    I can give you administrator access to a test installation if you are interested in.

  6. binarystash01
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    I can check your installation. You may send me the login details by using the "Leave me a message" form on my site http://binarystash.blogspot.com/.

    Thanks!

  7. Edi Goetschel
    Member
    Posted 1 year ago #

    I sent you the login details. Thank you!

  8. binarystash01
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Psychosopher,

    Thanks for reporting the problem. The bug has already been identified and will be fixed on the next release.

    The next version will be available on March 22.

    Thanks!

  9. binarystash01
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    Please upgrade to 1.1.2.

    Thanks!

  10. Edi Goetschel
    Member
    Posted 1 year ago #

    I tried with a new WordPress installation and version 1.1.6, but it does still not work for me.

  11. binarystash01
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    If there was an error during PDF upload, there should be a popup that displays something like "Command exited with error code: <error_code>". What is the error code?

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.