Hi,
your module looks good, but I recognize a problem - if you display the attachment bigger than the thumbnail - I get a fatal error. Don't know if it is a problem of itweak or DOMPDF. Could it be a problem with tables?
Fatal error: Uncaught exception 'DOMPDF_Exception' with message 'Box property calculation requires containing block width' in /is/htdocs/xxx/www/cms/xx/sites/all/modules/print/dompdf-0.5.1/include/block_frame_reflower.cls.php:111 Stack trace: #0 /is/htdocs/xxx/www/cms/xx/sites/all/modules/print/dompdf-0.5.1/include/block_frame_reflower.cls.php(368): Block_Frame_Reflower->_calculate_restricted_width() #1 /is/htdocs/xxx/www/cms/xx/sites/all/modules/print/dompdf-0.5.1/include/frame_decorator.cls.php(387): Block_Frame_Reflower->reflow() #2 /is/htdocs/xxx/www/cms/xx/sites/all/modules/print/dompdf-0.5.1/include/block_frame_reflower.cls.php(408): Frame_Decorator->reflow() #3 /is/htdocs/xxx/www/cms/xx/sites/all/modules/print/dompdf-0.5.1/include/frame_decorator.cls.php(387): Block_Frame_Reflower->reflow() #4 /is/htdocs/xxx/www/cms/xx/sites/all/modules/print/dompdf-0.5.1/include/block_frame_reflower.cls.php in /is/htdocs/xxx/www/cms/xx/sites/all/modules/print/dompdf-0.5.1/include/block_frame_reflower.cls.php on line 111
Fatal error: Uncaught exception 'DOMPDF_Internal_Exception' with message 'Frame not found in cellmap' in /is/htdocs/xxx/www/cms/xx/sites/all/modules/print/dompdf-0.5.1/include/cellmap.cls.php:237 Stack trace: #0 /is/htdocs/xxx/www/cms/xx/sites/all/modules/print/dompdf-0.5.1/include/table_cell_frame_reflower.cls.php(66): Cellmap->get_frame_position(Object(Table_Cell_Frame_Decorator)) #1 /is/htdocs/xxx/www/cms/xx/sites/all/modules/print/dompdf-0.5.1/include/frame_decorator.cls.php(387): Table_Cell_Frame_Reflower->reflow() #2 /is/htdocs/xxx/www/cms/xx/sites/all/modules/print/dompdf-0.5.1/include/table_row_frame_reflower.cls.php(70): Frame_Decorator->reflow() #3 /is/htdocs/xxx/www/cms/xx/sites/all/modules/print/dompdf-0.5.1/include/frame_decorator.cls.php(387): Table_Row_Frame_Reflower->reflow() #4 /is/htdocs/xxx/www/cms/xx/sites/all/modules/print/dompdf-0.5.1/include/table_frame_reflower.cls.php(468): in /is/htdocs/xxx/www/cms/xx/sites/all/modules/print/dompdf-0.5.1/include/cellmap.cls.php on line 237
Comments
Comment #1
iva2k commentedI tried print.module + dompdf_0-5-2_alpha1, varied itweak_upload settings, and got no problem like you describe.
I will need more information to even try to reproduce your problem:
- Version of print.module (if it is -dev, what date?) I see that your installation differs from print/INSTALL.txt (dompdf vs. lib directory)
- Are you using any patches of print.module?
- Your settings of iTweak Upload (screenshot could do).
- Are you using lightbox2 or thickbox or none? Version?
- which URL path gives you error?
From the error message I have reasons to believe that print/dompdf is not tolerant to some of the page content that other modules may output. That would put this problem onto the print.module or dompdf code, which I have no power of fixing. I will still try to reproduce it (once you give more info) and see if there is anything I can identify fixable on my side.
Comment #2
Apfel007 commentedHi iva2k,
I spoke to the dompdf team..
they told me, that the error causes in a table without a specified width. It seems that the thumb insert have a fixed width, and if I insert my own imagecache format, there isn't a specific width in table. They will fix this.
Cheers
Comment #3
iva2k commentedThanks for the update! Since it's a DOMPDF issue, there is nothing to fix in itweak_upload.