Title: hacked site and inconsistent functionality
Last modified: August 19, 2016

---

# hacked site and inconsistent functionality

 *  [steveathopeworks](https://wordpress.org/support/users/steveathopeworks/)
 * (@steveathopeworks)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/hacked-site-and-inconsistent-functionality/)
 * 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/](http://wordpress.org/extend/plugins/post2pdf/)

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

 *  Thread Starter [steveathopeworks](https://wordpress.org/support/users/steveathopeworks/)
 * (@steveathopeworks)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/hacked-site-and-inconsistent-functionality/#post-692768)
 * I’m guessing this is a pretty URL issue, any ideas folks? thanks.
 *  [Jeremy Clark](https://wordpress.org/support/users/jeremyclark13/)
 * (@jeremyclark13)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/hacked-site-and-inconsistent-functionality/#post-692769)
 * 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](http://codex.wordpress.org/Hardening_WordPress)
   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.
 *  Thread Starter [steveathopeworks](https://wordpress.org/support/users/steveathopeworks/)
 * (@steveathopeworks)
 * [18 years, 4 months ago](https://wordpress.org/support/topic/hacked-site-and-inconsistent-functionality/#post-692770)
 * 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.
 *  [xm3tax](https://wordpress.org/support/users/xm3tax/)
 * (@xm3tax)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/hacked-site-and-inconsistent-functionality/#post-692802)
 * 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.
 *  [xm3tax](https://wordpress.org/support/users/xm3tax/)
 * (@xm3tax)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/hacked-site-and-inconsistent-functionality/#post-692803)
 * 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); }
 *  [PaulMyatt](https://wordpress.org/support/users/paulmyatt/)
 * (@paulmyatt)
 * [18 years ago](https://wordpress.org/support/topic/hacked-site-and-inconsistent-functionality/#post-692819)
 * 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?
 *  [hadak](https://wordpress.org/support/users/hadak/)
 * (@hadak)
 * [18 years ago](https://wordpress.org/support/topic/hacked-site-and-inconsistent-functionality/#post-692821)
 * 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/](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.

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

The topic ‘hacked site and inconsistent functionality’ is closed to new replies.

## Tags

 * [hacked](https://wordpress.org/support/topic-tag/hacked/)

 * 7 replies
 * 5 participants
 * Last reply from: [hadak](https://wordpress.org/support/users/hadak/)
 * Last activity: [18 years ago](https://wordpress.org/support/topic/hacked-site-and-inconsistent-functionality/#post-692821)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
