anasera3 / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Fatal error: Class 'Frame_Tree' not found #539

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I added if(function_exists('DOMPDF_autoload')) {
  DOMPDF_autoload('DOMPDF');
} in my file. 

What is the expected output? What do you see instead?
the PDF should be attached to the mail, but I am getting this error
"Fatal error: Class 'Frame_Tree' not found 
myurl/libraries/dompdf/include/dompdf.cls.php on line 167"

What version of dompdf are you using? What version of PHP? On what
operating system?
0.5.1V with PHP 5.2.17 in linux and with Drupal

Please provide the HTML source code you want to convert, or any additional
information.

Original issue reported on code.google.com by shlachu on 26 Sep 2012 at 12:47

Attachments:

GoogleCodeExporter commented 9 years ago
dompdf includes an autoloader already so the extra code isn't required. 
However, the autoloader for 0.5.1 is not very robust and can cause conflicts 
when run in the context of a framework or another library that uses 
autoloading. Recommended solution is to upgrade to 0.6.0.

Original comment by eclecticgeek on 26 Sep 2012 at 2:59

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 24 May 2013 at 3:00