Viewing 15 replies - 1 through 15 (of 15 total)
  • Same here, just installed and tested it – but I get only a blank page.

    Plugin Author Viljami Kuosmanen

    (@zuige)

    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!

    All errors gone for me except the blank PDF. Just letting you know here related to this thread.

    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

    (@zuige)

    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 )

    Already tried this one but no success.

    After checking it further

    These endpoints did not display anything

    /pdf/
    /pdf-preview/

    Somehow this one working

    /pdf-template/

    Thread Starter miguel4teixeira

    (@miguel4teixeira)

    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

    (@zuige)

    @miguel4teixeira did you upgrade to the newest version. Jamil’s problem is a different one.

    Thread Starter miguel4teixeira

    (@miguel4teixeira)

    @anttiviljami, problem solved.

    After updating the plugin, it works fine again.

    Thanks!!

    Plugin Author Viljami Kuosmanen

    (@zuige)

    Marking as resolved.

    still blank ?? Could anyone throw an eye on my page?

    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

    (@zuige)

    The issue is with your hosting environment. It has either disabled file_get_contents or can’t get access to localhost.

    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.