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 2 years ago.

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

    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

    Daniel

    No solution or idea for that problem?

    #3588

    Marv

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

    #3832

    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)

You must be logged in to reply to this topic.