【发布时间】:2011-04-27 23:42:25
【问题描述】:
嗨 我正在尝试使用 dompdf-0.5.1 在 php 中创建一个 pdf 文件我正在从 html 创建这些文件我每次尝试创建一个大文件时都会有大量数据它卡住给我错误是否有任何库我可用于来自 html 的大型 pdf 文件 它也适用于小型和普通文件 谢谢
致命错误:在 E:\AppServ\www\test\include\cellmap.cls.php:237 中未捕获异常 'DOMPDF_Internal_Exception' 并带有消息 'Frame not found in cellmap' 堆栈跟踪:#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):第 237 行 E:\AppServ\www\test\include\cellmap.cls.php 中的 Frame_Deco
【问题讨论】:
-
提供一些导致问题的示例 HTML 会有所帮助。您可能会考虑升级到 DOMPDF 的 0.6.0 版本(目前处于测试阶段)。它解决了包括这个在内的许多问题。
标签: php pdf pdf-generation dompdf