Title: Internal Server Error
Last modified: September 1, 2016

---

# Internal Server Error

 *  Resolved [wordpressmz](https://wordpress.org/support/users/wordpressmz/)
 * (@wordpressmz)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/internal-server-error-438/)
 * Hi,
 * I have been getting internal server error. The ShortCode I get after using the
   add pdf button is this:
 * [pdfjs-viewer url=”http%3A%2F%2Ftreymag.com%2Fwp-content%2Fuploads%2F2016%2F08%
   2Fmag.pdf” viewer_width=100% viewer_height=1360px fullscreen=true download=true
   print=true]
 * And in result Internal Server Error
 * [https://wordpress.org/plugins/pdfjs-viewer-shortcode/](https://wordpress.org/plugins/pdfjs-viewer-shortcode/)

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

 *  Plugin Author [Ben Lawson](https://wordpress.org/support/users/falconerweb/)
 * (@falconerweb)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/internal-server-error-438/#post-7715016)
 * I just tested that file on my website and it works fine!
 * Where do you see the error? Where the pdf should be?
 * Try this shortcode instead:
    [pdfjs-viewer url=”[http://treymag.com/wp-content/uploads/2016/08/mag.pdf&#8221](http://treymag.com/wp-content/uploads/2016/08/mag.pdf&#8221);
   viewer_width=100% viewer_height=1360px fullscreen=true download=true print=true]
 *  Thread Starter [wordpressmz](https://wordpress.org/support/users/wordpressmz/)
 * (@wordpressmz)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/internal-server-error-438/#post-7715017)
 * ok let me try this short code
 *  Thread Starter [wordpressmz](https://wordpress.org/support/users/wordpressmz/)
 * (@wordpressmz)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/internal-server-error-438/#post-7715021)
 * See this URL:
 * [http://treymag.com/1623-2/](http://treymag.com/1623-2/)
 * I used the above short code
 *  Plugin Author [Ben Lawson](https://wordpress.org/support/users/falconerweb/)
 * (@falconerweb)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/internal-server-error-438/#post-7721088)
 * Make sure you don’t have any security plugins preventing the PDF from being loaded.
 * You probably have a .htaccess rule preventing access to the PDF.
    See [http://support.hostgator.com/articles/how-to-edit-your-htaccess-file](http://support.hostgator.com/articles/how-to-edit-your-htaccess-file)
   And make sure you don’t have special access rules for wp-uploads

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

The topic ‘Internal Server Error’ is closed to new replies.

 * ![](https://ps.w.org/pdfjs-viewer-shortcode/assets/icon-256x256.png?rev=2301161)
 * [PDF.js Viewer](https://wordpress.org/plugins/pdfjs-viewer-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/pdfjs-viewer-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/pdfjs-viewer-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdfjs-viewer-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdfjs-viewer-shortcode/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Ben Lawson](https://wordpress.org/support/users/falconerweb/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/internal-server-error-438/#post-7721088)
 * Status: resolved