Hello

I have installed the print_module (6.1.1.) and I am trying to add the pdf function.
I have unpacked the dompdf (0.6.0) file to the correct directory and i have followed all the steps for the installation.
However I am not very sure about the dompdf_config.inc.php configuration.

My server report the following error when i try to create a pdf document in my website

PHP Fatal error: Class 'DomDocument' not found in /var/www/html/drupal-6.14/sites/uoguelph.ca.sessional_ta_posting/modules/print/dompdf/include/dompdf.cls.php on line 177, referer: http://stage.uoguelph.ca/sessional_ta_posting/node/473

I am working on Linux and PHP 5.1.6

Thanks for your help

Regards

Karina G.

Comments

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

The module was never tested/configured to work with any version other than the "stable" 0.5.1. It seems it doesn't work with the current development versions.

João

karinagr’s picture

Hi
I have already changed the version of dompdf . I am working with the stable version (0.5.1) but It is still not working
This is the error

Details of the Error
------------------

Type php
Location http://stage.uoguelph.ca/sessional_ta_posting/printpdf/481
Referrer http://stage.uoguelph.ca/sessional_ta_posting/gg
Message require_once(/var/www/html/drupal-6.14/sites/uoguelph.ca.sessional_ta_posting/modules/print/dompdf-0.5.1/include/domdocument.cls.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/html/drupal-6.14/sites/uoguelph.ca.sessional_ta_posting/modules/print/dompdf-0.5.1/dompdf_config.inc.php on line 194.
Severity error

Thanks for your help

Karis

jcnventura’s picture

I guess it doesn't have anything to do with dompdf 0.6.0 then..

There's a very similar error in their FAQ, which mentions the lack of the DOM extension in your PHP server.

Look into your phpinfo() and check whether you have that extension or not.

João

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

No further info in two weeks. Closing the issue.