Thank you for this great module. Mostly working but I am getting an error message form time to time and wondering if it is related to the install config ( ... from a Drupal newbie, no programming :-). The ReadMe from the Print module says to install in "print/lib/" but the doc on the Project page says "print/". I've got dompdf in "print/lib/". Could that be the cause?
Thank you; fully appreciated page.
warning: DOMXPath::query() [function.DOMXPath-query]: Invalid expression in /home/agentfis/public_html/sites/all/modules/print/lib/dompdf-0.5.1/include/stylesheet.cls.php on line 573.
warning: DOMXPath::query() [function.DOMXPath-query]: Invalid expression in /home/agentfis/public_html/sites/all/modules/print/lib/dompdf-0.5.1/include/stylesheet.cls.php on line 573.
warning: Invalid argument supplied for foreach() in /home/agentfis/public_html/sites/all/modules/print/lib/dompdf-0.5.1/include/stylesheet.cls.php on line 575.
Comments
Comment #1
jcnventuraHi,
This is an error with dompdf, and as such the error should be reported to the dompdf maintainers..
Googling for your problem brings up a page with some possible solutions to your problem:
http://codeigniter.com/forums/viewthread/73579/
João
Comment #2
jasonabc commentedI do not have dompdf installed and nor am I using it. I am getting the same DOMXPath error in the stylesheet.cls.php file included with the Print module. See below. Any ideas?
Location http://mysite.com/printpdf/content/some-content
Message DOMXPath::query() [domxpath.query]: Invalid expression in /www/sites/www.mysite.com/files/html/sites/all/modules/print/lib/include/stylesheet... on line 573.
Comment #3
jcnventuraThat file is indeed part of dompdf.. The module doesn't ship with a lib directory, so anything there was installed at a later time. The answer I provided before applies in your case also.
Comment #4
vako commented@jasonabc, you can't use the PDF option without the dompdf library files and they don't come with the print module, you need to download it separately.