PDF File Download not possible because of Filename problem

Home Forums Bugs and Troubleshooting PDF File Download not possible because of Filename problem

This topic contains 3 replies, has 1 voice, and was last updated by  Phil 1 year, 8 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2763 Reply

    Daniel

    Some of the users get a PDF File with a very small size and with a name with ‘ in the begin and the end of the filename like this:

    ‘MappingWGB (1).pdf’

    I can´t open this with Adobe PDF and get an error.

    What could be the problem?

    #3127 Reply

    Daniel

    No solution or idea for that problem?

    #3588 Reply

    Marv

    I have the same problem. Is there a solution now?

    #3832 Reply

    Phil

    I solved this problem by modifying the plugin file “generate-pdf.php”:

    Replace lines 128 and 131 by the following:

    128 fpropdf_header(“Content-Disposition: attachment; filename=”.$generated_filename.””);
    131 fpropdf_header(“Content-Disposition: inline; filename=”.$generated_filename.””);

    Works for me 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: PDF File Download not possible because of Filename problem
Your information: