Starting 0.8.1 dompdf no longer supplies autoload.php in its root directory. See https://github.com/dompdf/dompdf/commit/39cf8906c39a01b0e54ed140d9703325...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jonhattan created an issue. See original summary.

jonhattan’s picture

Status: Active » Needs review
FileSize
992 bytes
emerham’s picture

Tested and it works for me with DomPDF 8.1.

klausi’s picture

Updated patch where we also update the exception classes. This should still work with any previous dompdf version installed through Libraries API, but the recommended way is now Composer.

  • klausi committed 32da00f on 7.x-1.x authored by jonhattan
    Issue #2915990 by jonhattan, klausi, emerham: Add support for dompdf 0.8...
klausi’s picture

Status: Needs review » Fixed

Committed!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

janvonmulert’s picture

I was trying to install commerce_billy on an older, non composer drupal 7 site.
Got it to work like so:
Extracted zip from
https://github.com/dompdf/dompdf/releases/tag/v0.8.1
into libraries folder.
rename to dompdf
run "composer install" in dompdf

then needed patch #4 for correct path to autoload file. (should probably get committed as well ?)

Attached it reroll of #4 for 7.x-1.3+2-dev