Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Critical
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.6.17
-
Fix Version/s: 4.6.18
-
Component/s: Core CiviCRM
-
Labels:None
-
Documentation Required?:None
-
Funding Source:Core Team Funds
Description
It looks like PR-8419, which is supposed to mitigate CIVI-SA-2016-09 (CRM-16898), breaks the PDF generation. Apparently the current 4.6.17 release is missing the file
vendor/dompdf/dompdf/lib/html5lib/TreeBuilder.php
This leads to the following fatal PHP error when trying to generate a PDF letter:
[06-Jun-2016 09:58:03 Europe/Berlin] PHP Fatal error: require_once(): Failed opening required '/mamp_root/smb/sites/all/modules/civicrm/vendor/dompdf/dompdf/lib/html5lib/TreeBuilder.php' (include_path='/mamp_root/smb/sites/all/modules/civicrm:/mamp_root/smb/sites/all/modules/civicrm/packages:.:/mamp_root/smb/sites/all/modules/civicrm:/mamp_root/smb/sites/all/modules/civicrm/packages:/mamp_root/smb/sites/all/modules/civicrm/vendor/tecnickcom:/mamp_root/smb/sites/all/modules/civicrm/vendor/phpseclib/phpseclib/phpseclib:.:/Applications/MAMP/bin/php/php5.4.10/lib/php') in /mamp_root/smb/sites/all/modules/civicrm/vendor/dompdf/dompdf/lib/html5lib/Parser.php on line 5