Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-14415

fastcgi and older versions of tcpdf don't work together

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Incomplete
    • Affects Version/s: 4.2.15
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
      None
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      This isn't an actionable bug, but more of a note for the next person who runs into it. In general, fastcgi with php-fpm has been working well with CiviCRM, but the version of the eternal TCPDF library included in 4.2 and before outputs multiple Content-Type headers, giving a fatal error in the apache log looking like:

      error parsing headers: duplicate header 'Content-Type'

      The easy solution is just to remove the duplicate header output rows from the tcpdf code, or you could probably replace the whole library with an updated one.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              adixon Alan Dixon
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: