hi 我想在php中創建一個pdf文件使用dompdf-0.5.1我從html創建這些文件我每次都有大量的數據我嘗試創建一個大文件其卡住給我的錯誤是therey,我可以使用較大的PDF文件從HTML 也是其爲小型和普通文件的工作 感謝html to pdf非常大的文件php
Fatal error: Uncaught exception 'DOMPDF_Internal_Exception' with message 'Frame not found in cellmap' in E:\AppServ\www\test\include\cellmap.cls.php:237 Stack trace: #0 E:\AppServ\www\test\include\table_cell_frame_reflower.cls.php(66): Cellmap->get_frame_position(Object(Table_Cell_Frame_Decorator)) #1 E:\AppServ\www\test\include\frame_decorator.cls.php(387): Table_Cell_Frame_Reflower->reflow() #2 E:\AppServ\www\test\include\table_row_frame_reflower.cls.php(70): Frame_Decorator->reflow() #3 E:\AppServ\www\test\include\frame_decorator.cls.php(387): Table_Row_Frame_Reflower->reflow() #4 E:\AppServ\www\test\include\table_frame_reflower.cls.php(468): Frame_Decorator->reflow() #5 E:\AppServ\www\test\include\frame_decorator.cls.php(387): Table_Frame_Reflower->reflow() #6 E:\AppServ\www\test\include\block_frame_reflower.cls.php(408): Frame_Decorator->reflow() #7 E:\AppServ\www\test\include\frame_decorator.cls.php(387): Block_Frame_Reflower->reflow() #8 E:\AppServ\www\test\include\table_cell_frame_reflower.cls.php(115): Frame_Deco in E:\AppServ\www\test\include\cellmap.cls.php on line 237
這將有助於有一些示例HTML導致該問題。您可以考慮升級到DOMPDF的0.6.0版本(目前處於測試階段)。它解決了包括這個問題在內的許多問題。 – BrianS 2010-10-20 18:07:06