Title: PDF blank page
Last modified: August 31, 2016

---

# PDF blank page

 *  Resolved [miguel4teixeira](https://wordpress.org/support/users/miguel4teixeira/)
 * (@miguel4teixeira)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/pdf-blank-page/)
 * Hi,
 * I´m using WordPress PDF Templates for a while and it was working fine.
    But since
   last week, the pdf only shows a blank page. I haven´t made any change on index-
   pdf.php.
 * My site is [http://www.formulaprime.pt/](http://www.formulaprime.pt/) and you
   can see the link to generate pdf inside the single properties.
 * [https://wordpress.org/plugins/wp-pdf-templates/](https://wordpress.org/plugins/wp-pdf-templates/)

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

 *  [thefountain](https://wordpress.org/support/users/thefountain/)
 * (@thefountain)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/pdf-blank-page/#post-7205266)
 * Same here, just installed and tested it – but I get only a blank page.
 *  Plugin Author [Viljami Kuosmanen](https://wordpress.org/support/users/zuige/)
 * (@zuige)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/pdf-blank-page/#post-7205267)
 * I’ve just pushed version 1.4.2, which should fix these issues. This seems to 
   happen when localhost doesn’t point to to the wordpress installation.
 * Can you try upgrading to 1.4.2 and report back if this fixes your issue?
 * Cheers!
 *  [Jamil Ahmed](https://wordpress.org/support/users/jimi007/)
 * (@jimi007)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/pdf-blank-page/#post-7205275)
 * All errors gone for me except the blank PDF. Just letting you know here related
   to this thread.
 *  [thefountain](https://wordpress.org/support/users/thefountain/)
 * (@thefountain)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/pdf-blank-page/#post-7205276)
 * Thank you. I still get a blank PDF and no other errors. The plugin should work
   right out of the box, or am I wrong? When there is no error appearing the server
   environment should be right, or am I wrong? Is there another way of debugging
   this?
 * Best
    P.
 *  Plugin Author [Viljami Kuosmanen](https://wordpress.org/support/users/zuige/)
 * (@zuige)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/pdf-blank-page/#post-7205284)
 * Could the empty pdf be still cached? Try hard refreshing the pdf file and see
   if it helps
 * ctrl + shift + F5 (cmd + shift + R)
 * You can also disable the cache altogether to be safe:
 * `define( 'DISABLE_PDF_CACHE', true )`
 *  [Jamil Ahmed](https://wordpress.org/support/users/jimi007/)
 * (@jimi007)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/pdf-blank-page/#post-7205287)
 * Already tried this one but no success.
 *  [Jamil Ahmed](https://wordpress.org/support/users/jimi007/)
 * (@jimi007)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/pdf-blank-page/#post-7205292)
 * After checking it further
 * These endpoints did not display anything
 * /pdf/
    /pdf-preview/
 * Somehow this one working
 * /pdf-template/
 *  Thread Starter [miguel4teixeira](https://wordpress.org/support/users/miguel4teixeira/)
 * (@miguel4teixeira)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/pdf-blank-page/#post-7205294)
 * With “/pdf-template/” is showing the content, yes, but is not in a pdf page, 
   like the plugin used to work…
 *  Plugin Author [Viljami Kuosmanen](https://wordpress.org/support/users/zuige/)
 * (@zuige)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/pdf-blank-page/#post-7205305)
 * [@miguel4teixeira](https://wordpress.org/support/users/miguel4teixeira/) did 
   you upgrade to the newest version. Jamil’s problem is a different one.
 *  Thread Starter [miguel4teixeira](https://wordpress.org/support/users/miguel4teixeira/)
 * (@miguel4teixeira)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/pdf-blank-page/#post-7205307)
 * @anttiviljami, problem solved.
 * After updating the plugin, it works fine again.
 * Thanks!!
 *  Plugin Author [Viljami Kuosmanen](https://wordpress.org/support/users/zuige/)
 * (@zuige)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/pdf-blank-page/#post-7205313)
 * Marking as resolved.
 *  [thefountain](https://wordpress.org/support/users/thefountain/)
 * (@thefountain)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/pdf-blank-page/#post-7205322)
 * still blank 🙁 Could anyone throw an eye on my page?
 *  [rigal-patel](https://wordpress.org/support/users/rigal-patel/)
 * (@rigal-patel)
 * [10 years ago](https://wordpress.org/support/topic/pdf-blank-page/#post-7205455)
 * Hello Antti Kuosmanen,
    I have Updated plugin but I m still getting blank pdf./
   pdf-template/ is dispaly content. I am not getting any error. what’s Issue in
   this plugin?
 *  Plugin Author [Viljami Kuosmanen](https://wordpress.org/support/users/zuige/)
 * (@zuige)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/pdf-blank-page/#post-7205475)
 * The issue is with your hosting environment. It has either disabled file_get_contents
   or can’t get access to localhost.
 *  [zilther](https://wordpress.org/support/users/zilther/)
 * (@zilther)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/pdf-blank-page/#post-7205476)
 * Running version 1.4.2
    Wordpress 4.5.3 PHP 5.6.2
 * /pdf-template is working properly
    /pdf just downloads a blank file
 * `define( 'DISABLE_PDF_CACHE', true )` – I tried this but it did not help
 * On my personal MAMP server I got this working perfectly, but it isn’t working
   with my hosting company. Is it still something with the localhost server setup?
   My hosting account uses `mysql999-999.xxx.xxx.hostingcompany.com` for `DB_HOST`.

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

The topic ‘PDF blank page’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-pdf-templates_ffffff.svg)
 * [WordPress PDF Templates](https://wordpress.org/plugins/wp-pdf-templates/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-pdf-templates/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-pdf-templates/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-pdf-templates/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-pdf-templates/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-pdf-templates/reviews/)

 * 15 replies
 * 6 participants
 * Last reply from: [zilther](https://wordpress.org/support/users/zilther/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/pdf-blank-page/#post-7205476)
 * Status: resolved