Contao Open Source CMS > Contao forum

Switch to german forum

Index > Bug report > Dompdf problem

Hi All,

I'm facing a problem. When clicking on a pdf link, i get this error :

iconCode:
Warning: require_once(/var/www/html/plugins/dompdf/include/domdocument.cls.php) [function.require-once]: failed to open stream: No such file or directory in /var/www/html/plugins/dompdf/dompdf_config.inc.php on line 194
Fatal error: require_once() [function.require]: Failed opening required '/var/www/html/plugins/dompdf/include/domdocument.cls.php' (include_path='.:/usr/share/pear') in /var/www/html/plugins/dompdf/dompdf_config.inc.php on line 194

Indeed does the domdocument.cls.php file not exist in the requested folder..

Any idea ?

Patrick
2007-11-05 11:05
ximatrix
User
Avatar
got the same errror, any solutions found in the mean time?
regards mike
2008-02-20 21:37
Ben
Partner
Avatar
Posts: 2126
Atlanta, Georgia, United States
Guys - can you tell us what version of TYPOlight you are using? I moved this post to 'bug report', since I think it may be more appropriate.
2008-02-21 01:45
ximatrix
User
Avatar
I'm using the latest one, 2.5.3 on lnx fedora v7 in combination with cubepanel, however using 2.5.3 on windows with wamp is working. maybe there is a package missing however?

regards, mike
2008-02-21 09:31
ximatrix
User
Avatar
Hi there
After a while (not having time for it) finally I've found the problem and this is not really a bug of Typolight.

I was googeling a bit an found a top doing a phpinfo and looking for php modules installed or not activated. So if the module dom is not punlished in phpinfo like this "enable-dom" it won't work and the error above from tk5ep shows up.

I recompiled php on my webserver and everything worked out fine, okay recompiling was a hassel finally the error has gone away. Might be bad for anyone not having its onw server but maybe you can load the module over the script generating the pdf. maybe a good idea to implement.

cheers mike
2008-03-14 11:47
jhoy_imperial
User
Avatar
hello,

i am having problem with DOMPDF. pdf generation works perfectly well with tcpdf but i need DOMPDF to modify the styling of the file. when i changed the setting to DOMPDF, all i get is a blank page. no error warnings and no error logs. i have tested it both in FF and IE and i am using version 2.6.7

how can i fix this?

thanks,
jhoy
Last edited by jhoy_imperial, 2009-03-19 09:25
2009-03-19 09:24