• One of the most-frequently asked questions on my journal is how I have PDF support working “so seamlessly.”

    I use a plug-in called WP2PDF.

    Unfortunately, WP2PDF, often misbehaves and is non-trivial to install and configure. The following tutorial details some of the things I have done–including changes to its code–to make it work.

    Now you can have PDF support for your web log too!

Viewing 2 replies - 16 through 17 (of 17 total)
  • Hi

    I’m not having any luck. I’ve got quite a few plugins running and many seem to be in conflict. Deleted some of them, but hasn’t solved it yet. It may be something to do with the order of plugin activation.

    Also, can’t login in now, get:

    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wp213\wp-includes\link-template.php:526) in C:\xampp\htdocs\wp213\wp-login.php on line 12
    
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wp213\wp-includes\link-template.php:526) in C:\xampp\htdocs\wp213\wp-includes\pluggable.php on line 313
    
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wp213\wp-includes\link-template.php:526) in C:\xampp\htdocs\wp213\wp-includes\pluggable.php on line 314
    
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wp213\wp-includes\link-template.php:526) in C:\xampp\htdocs\wp213\wp-includes\pluggable.php on line 275

    I created the folder pdf, and a pdf file does get created in it, but incomplete and also still get errors for https://localhost/wp213/wp2pdf/wp2pdf.php:

    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wp213\wp-includes\link-template.php:526) in C:\xampp\htdocs\wp213\wp2pdf\wp2pdf.php on line 519
    
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wp213\wp-includes\link-template.php:526) in C:\xampp\htdocs\wp213\wp2pdf\wp2pdf.php on line 520
    
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wp213\wp-includes\link-template.php:526) in C:\xampp\htdocs\wp213\wp2pdf\wp2pdf.php on line 522
    
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wp213\wp-includes\link-template.php:526) in C:\xampp\htdocs\wp213\wp2pdf\wp2pdf.php on line 523
    
    Warning: filesize() [function.filesize]: stat failed for '../pdf/' . actualitydotlog-20070528-014147.pdf in C:\xampp\htdocs\wp213\wp2pdf\wp2pdf.php on line 524
    
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wp213\wp-includes\link-template.php:526) in C:\xampp\htdocs\wp213\wp2pdf\wp2pdf.php on line 524
    
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wp213\wp-includes\link-template.php:526) in C:\xampp\htdocs\wp213\wp2pdf\wp2pdf.php on line 526
    
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wp213\wp-includes\link-template.php:526) in C:\xampp\htdocs\wp213\wp2pdf\wp2pdf.php on line 527
    
    Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\wp213\wp-includes\link-template.php:526) in C:\xampp\htdocs\wp213\wp2pdf\wp2pdf.php on line 528
    
    Warning: readfile(actualitydotlog-20070528-014147.pdf) [function.readfile]: failed to open stream: No such file or directory in C:\xampp\htdocs\wp213\wp2pdf\wp2pdf.php on line 532

    I’ll probably have to start from scratch and get rid of all the plugins as you suggest. Will feedback

    thanks

    Thread Starter wahgnube

    (@wahgnube)

    I googled a bit and here is what I found. (See the last question.)

    Try removing whitespace after the ?> at the end of each of these files. Your warning/error messages tell you which are the offending lines.

    Another similar tip.

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Working PDF support!’ is closed to new replies.