Title: Unknown error when uploading a PDF
Last modified: August 21, 2016

---

# Unknown error when uploading a PDF

 *  Resolved [Edi](https://wordpress.org/support/users/psychosopher/)
 * (@psychosopher)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/unknown-error-when-uploading-a-pdf/)
 * 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/](https://wordpress.org/plugins/wp-booklet/)

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

 *  Plugin Author [binarystash01](https://wordpress.org/support/users/binarystash01/)
 * (@binarystash01)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/unknown-error-when-uploading-a-pdf/#post-4693781)
 * Hi,
 * Please paste the text under Booklet->Settings->Server Environment so I can help
   you diagnose the problem.
 * Thanks!
 *  Thread Starter [Edi](https://wordpress.org/support/users/psychosopher/)
 * (@psychosopher)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/unknown-error-when-uploading-a-pdf/#post-4693807)
 * 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](http://www.imagemagick.org)
   Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC Features:
 * Is uploads directory writable by web server?
    Yes
 *  Plugin Author [binarystash01](https://wordpress.org/support/users/binarystash01/)
 * (@binarystash01)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/unknown-error-when-uploading-a-pdf/#post-4693871)
 * 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](http://codex.wordpress.org/Changing_File_Permissions).
 * Thanks!
 *  Thread Starter [Edi](https://wordpress.org/support/users/psychosopher/)
 * (@psychosopher)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/unknown-error-when-uploading-a-pdf/#post-4693896)
 * 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.
 *  Plugin Author [binarystash01](https://wordpress.org/support/users/binarystash01/)
 * (@binarystash01)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/unknown-error-when-uploading-a-pdf/#post-4693902)
 * 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/](http://binarystash.blogspot.com/).
 * Thanks!
 *  Thread Starter [Edi](https://wordpress.org/support/users/psychosopher/)
 * (@psychosopher)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/unknown-error-when-uploading-a-pdf/#post-4693909)
 * I sent you the login details. Thank you!
 *  Plugin Author [binarystash01](https://wordpress.org/support/users/binarystash01/)
 * (@binarystash01)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/unknown-error-when-uploading-a-pdf/#post-4693917)
 * 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!
 *  Plugin Author [binarystash01](https://wordpress.org/support/users/binarystash01/)
 * (@binarystash01)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/unknown-error-when-uploading-a-pdf/#post-4693957)
 * Hi,
 * Please upgrade to 1.1.2.
 * Thanks!
 *  Thread Starter [Edi](https://wordpress.org/support/users/psychosopher/)
 * (@psychosopher)
 * [12 years ago](https://wordpress.org/support/topic/unknown-error-when-uploading-a-pdf/#post-4693977)
 * I tried with a new WordPress installation and version 1.1.6, but it does still
   not work for me.
 *  Plugin Author [binarystash01](https://wordpress.org/support/users/binarystash01/)
 * (@binarystash01)
 * [12 years ago](https://wordpress.org/support/topic/unknown-error-when-uploading-a-pdf/#post-4693979)
 * 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!

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

The topic ‘Unknown error when uploading a PDF’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-booklet_7c9f7d.svg)
 * [WP Booklet](https://wordpress.org/plugins/wp-booklet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-booklet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-booklet/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-booklet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-booklet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-booklet/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [binarystash01](https://wordpress.org/support/users/binarystash01/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/unknown-error-when-uploading-a-pdf/#post-4693979)
 * Status: resolved