Title: [Plugin: wp-mpdf] Damaged File?
Last modified: August 19, 2016

---

# [Plugin: wp-mpdf] Damaged File?

 *  [SORG](https://wordpress.org/support/users/sorg/)
 * (@sorg)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/)
 * My Problem is: When i click on the button, then an error occures, that the file,
   which should open, is damaged.
 * The cache file is generated and correct. I think there is a problem with the 
   dynamic ending `?output=pdf`
    What do i wrong?

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

1 [2](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/page/2/?output_format=md)

 *  Plugin Author [fkrauthan](https://wordpress.org/support/users/fkrauthan/)
 * (@fkrauthan)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/#post-1692105)
 * waht do you mean with damage output? Have you an example link for me?
 *  Thread Starter [SORG](https://wordpress.org/support/users/sorg/)
 * (@sorg)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/#post-1692108)
 * Of course:
    [Neckermann PDF](http://shops-online.org/neckermann-online-shop?output=pdf)
   on [Neckermann Online Shop](http://shops-online.org/neckermann-online-shop)
 * No PDF is shown – error occures: “The file is damaged and isn´t repairable”!
 * Here is [the cache file](http://shops-online.org/wp-content/plugins/wp-mpdf/cache/de_neckermann-online-shop.pdf)
 * Thank you for you support – i have no idea
 *  Plugin Author [fkrauthan](https://wordpress.org/support/users/fkrauthan/)
 * (@fkrauthan)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/#post-1692109)
 * Hmm ok strange. If you open the Cache file it works?
 *  Thread Starter [SORG](https://wordpress.org/support/users/sorg/)
 * (@sorg)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/#post-1692111)
 * If i change the permalink structure in standard, then there is a blank site, 
   but no error.
 * Cache file link is added in the post above.
 *  Plugin Author [fkrauthan](https://wordpress.org/support/users/fkrauthan/)
 * (@fkrauthan)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/#post-1692112)
 * Hmm thaaats very strange that the cache file works but the sending of this cache
   file to the user not. Which php version do you use? Can you look at the php error
   log if there is any error?
 *  Thread Starter [SORG](https://wordpress.org/support/users/sorg/)
 * (@sorg)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/#post-1692116)
 * PHP Version 5.2.12
    [PHP Info](http://www.neue-webpack-demo.de/phpinfo.php)
 * It´s a managed dedicated server – I have an error Logfile, but there is no error
   concerning this site.
 *  Plugin Author [fkrauthan](https://wordpress.org/support/users/fkrauthan/)
 * (@fkrauthan)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/#post-1692120)
 * Hmm thats very strange. Those this happend since you using this plugin?
 *  Thread Starter [SORG](https://wordpress.org/support/users/sorg/)
 * (@sorg)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/#post-1692124)
 * I have found out something new. On my other site (same database & same wordpress
   installation) it works fine! It works also with the same permalink structure 
   as in the problem-site.
 * Here it works: [Lego Restposten](http://posten-verkauf.de/grosshandel_mode/grosshandel_bekleidung/lego_restposten-24)
 * What can be wrong? I´ve changed this in wp-config.php, to use one admin for multiple
   WP:
 *     ```
       $table_prefix = str_replace(array('.', '-' ), '_', $_SERVER['HTTP_HOST'] ) . '_';
       $table_prefix = str_replace(array('www_'), '', $table_prefix);
       ```
   
 *  Plugin Author [fkrauthan](https://wordpress.org/support/users/fkrauthan/)
 * (@fkrauthan)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/#post-1692125)
 * hmm is the error just this one post or are other posts also damaged?
 *  Thread Starter [SORG](https://wordpress.org/support/users/sorg/)
 * (@sorg)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/#post-1692126)
 * All posts and all pages were tested.. always the same error. Could it be another
   plugin, which is used in the problem site?
 * This is the only idea i have – Like category auto link for example. Should i 
   disable all plugins (23x) to test it?
 *  Plugin Author [fkrauthan](https://wordpress.org/support/users/fkrauthan/)
 * (@fkrauthan)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/#post-1692127)
 * that would be the best idea. Disable on plugin then test again and so one. Sometimes
   its really a plugin.
 *  Thread Starter [SORG](https://wordpress.org/support/users/sorg/)
 * (@sorg)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/#post-1692133)
 * Ok i have it. Thank you man – It was a pretty exciting and intestesting thing..
   The problem was the SEO Ultimate Plugin. I disabled only the “Title Tag Rewriter
   Modul” of this plugin and now it works how it should.
 * I think you have made the best PDF Plugin of all.. And i tested a lot 🙂
    Do 
   you have a plugin for printing sites or a tip?
 *  Plugin Author [fkrauthan](https://wordpress.org/support/users/fkrauthan/)
 * (@fkrauthan)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/#post-1692135)
 * oki thats great 🙂 You mean wordpress sites? Becous wp-mpdf should also be able
   to print wordpress sites^^
 *  Thread Starter [SORG](https://wordpress.org/support/users/sorg/)
 * (@sorg)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/#post-1692137)
 * I´m searching for a plugin that creates printable sites. Because there are people
   out there, who don´t know how to handle PDF files or don´t have a program to 
   see the PDF files. I know: Worst case scenario
 *  Plugin Author [fkrauthan](https://wordpress.org/support/users/fkrauthan/)
 * (@fkrauthan)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/#post-1692138)
 * Oh for that my Favorit plugin is WP-Print

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

1 [2](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/page/2/?output_format=md)

The topic ‘[Plugin: wp-mpdf] Damaged File?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-mpdf.svg)
 * [wp-mpdf](https://wordpress.org/plugins/wp-mpdf/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-mpdf/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-mpdf/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-mpdf/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-mpdf/reviews/)

 * 24 replies
 * 2 participants
 * Last reply from: [SORG](https://wordpress.org/support/users/sorg/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-mpdf-damaged-file/page/2/#post-1692354)
 * Status: not resolved