Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
When i installed dompdf (version 0.5.1), i had this issue :
Warning require_once ('.../firephp.cls.php');
It seems that there is a conflict between dompdf autoload function and the devel module. So if you have the same issue try to disable devel module.
You can also add this piece of code in DOMPDF_autoload function, in dompdf_config.in.php file
if (mb_strtolower($class)== 'firephp'){
return;
}
Comments
Comment #1
WorldFallz CreditAttribution: WorldFallz commentedI can confirm this fixed it for me.
Probably the best thing to do is fix this in devel, I'll try and take a look.
Comment #2
bricef CreditAttribution: bricef commentedYeah you're right.
Comment #3
pearcec CreditAttribution: pearcec commentedsub
Comment #4
PhenX CreditAttribution: PhenX commentedThis problem is solved in DOMPDF 0.6 beta 2
See http://code.google.com/p/dompdf/wiki/ReleaseNotes
Comment #5
jcnventura CreditAttribution: jcnventura commentedIndeed, this is a dompdf bug and should be reported and fixed by dompdf.
Comment #6
Sk8erPeter CreditAttribution: Sk8erPeter commentedI can confirm what PhenX said, I had the same issue, I just changed the version to 0.6 beta 2, problem solved, didn't have to hack anything.
Comment #7
amonteroMe too.
Fails with 0.5.2 and works with 0.6 beta2.
Comment #8
EmanueleQuinto CreditAttribution: EmanueleQuinto commentedThe error as seen in the apache log:
The autoload in dompdf now (http://code.google.com/p/dompdf/source/browse/tags/dompdf_0-6-0_beta2/do...) tests the existence of a file before require_once.
Actually the code was changed at R91 (http://code.google.com/p/dompdf/source/detail?r=90&path=/trunk/dompdf/do...): any release after that revision (0.5.2.alpha1 and 0.6.x) should work.