Forums

hacked site and inconsistent functionality (8 posts)

  1. steveathopeworks
    Member
    Posted 1 year ago #

    1. Author's site is currently hacked, yikes.
    2. post2pdf does not work correctly once an article is clicked on. for instance, if I click 'convert to pdf' on my blog's main site, it works, however if I click into an article's permalink, it does not work.

    any ideas folks? thanks in advance.

    http://wordpress.org/extend/plugins/post2pdf/

  2. steveathopeworks
    Member
    Posted 1 year ago #

    I'm guessing this is a pretty URL issue, any ideas folks? thanks.

  3. jeremyclark13
    Moderator
    Posted 1 year ago #

    1. This is the most pressing issue. You need to upgrade to 2.3.3 to prevent further attacks, and then read over some basic security practices you can use.
    2. The plugin says it's only compatible to 2.2 and it very might be only compatible up to that point. quite a bit of code was changed from 2.2 to 2.3 branches. You'll probably want to contact the author about it.

  4. steveathopeworks
    Member
    Posted 1 year ago #

    thanks for the reply. I have upgraded to 2.3.3

    the issue now works like this:

    when you initially click on the convert to pdf link, it will work. once you click on this link a second time for the same post, it will give you a garbled versions of generate.php, rather than provide the opportunity to download a PDF document. I have been unable to understand what is happening after first use that is incorrectly handling the php file to generate another PDF, on the second click.

  5. xm3tax
    Member
    Posted 1 year ago #

    On the category-to-pdf link:

    Fatal error: Call to undefined method PDF::PutLine() in /var/www/w/wp-content/plugins/post2pdf/pdf_class.php on line 299

    Individual posts work fine.

  6. xm3tax
    Member
    Posted 1 year ago #

    Worked after adding this missing function in the pdf_class.php:

    function PutLine()
    {
    $this->Ln(2);
    $this->Line($this->GetX(), $this->GetY(), $this->GetX()+187, $this->GetY());
    $this->Ln(3);
    }

  7. PaulMyatt
    Member
    Posted 1 year ago #

    I tried to activate this plugin on v2.5.1 and got a the error "Plugin could not be activated because it triggered a fatal error."

    Any ideas how to fix it?

  8. HaDAk
    Member
    Posted 1 year ago #

    This plugin seems to work fine, except with one single post on my site. (http://www.hadak.org/2007/10/30/oem-system-builder-script/) Please help! I've spent hours debugging and retesting...there's a combination of code/comments in my blockquotes that breaks it.

Topic Closed

This topic has been closed to new replies.

About this Topic