This topic is locked
[SOLVED]

 DOMPDF Problem

4/16/2018 7:37:58 AM
PHPRunner General questions
J
justinkongyt author

Hi Guys,
I just got this problem when running DOMPDF:
Fatal error: Uncaught DOMPDF_Exception: No block-level parent found. Not good. in /home/ori0n/public_html/landedproperty.sg/landedv2/plugins/dompdf/include/inline_positioner.cls.php:37'>landedproperty.sg/landedv2/plugins/dompdf/include/inline_positioner.cls.php:37 Stack trace: #0 /home/ori0n/public_html/landedproperty.sg/landedv2/plugins/dompdf/include/frame_decorator.cls.php(700): Inline_Positioner->position() #1 /home/ori0n/public_html/landedproperty.sg/landedv2/plugins/dompdf/include/text_frame_reflower.cls.php(330): Frame_Decorator->position() #2 /home/ori0n/public_html/landedproperty.sg/landedv2/plugins/dompdf/include/frame_decorator.cls.php(711)'>landedproperty.sg/landedv2/plugins/dompdf/include/frame_decorator.cls.php(711): Text_Frame_Reflower->reflow(NULL) #3 /home/ori0n/public_html/landedproperty.sg/landedv2/plugins/dompdf/include/page_frame_reflower.cls.php(123): Frame_Decorator->reflow() #4 /home/ori0n/public_html/landedproperty.sg/landedv2/plugins/dompdf/include/frame_decorator.cls.php(711)'>landedproperty.sg/landedv2/plugins/dompdf/include/frame_decorator.cls.php(711): Page_Frame_Reflower->reflow(NULL) #5 /home/ori0n/public_html/landedproperty.sg/landedv2/plugins/dompdf/include/dompdf.cls.php(951): Frame_Decorator->reflow() #6 /home/ori0n/publ in /home/ori0n/public_html/landedproperty.sg/landedv2/plugins/dompdf/include/inline_positioner.cls.php on line 37
Any idea how to resolve this.
I was trying to export to PDF.

J
justinkongyt author 4/27/2018



Hi Guys,
I just got this problem when running DOMPDF:
Fatal error: Uncaught DOMPDF_Exception: No block-level parent found. Not good. in /home/ori0n/public_html/landedproperty.sg/landedv2/plugins/dompdf/include/inline_positioner.cls.php:37'>landedproperty.sg/landedv2/plugins/dompdf/include/inline_positioner.cls.php:37 Stack trace: #0 /home/ori0n/public_html/landedproperty.sg/landedv2/plugins/dompdf/include/frame_decorator.cls.php(700): Inline_Positioner->position() #1 /home/ori0n/public_html/landedproperty.sg/landedv2/plugins/dompdf/include/text_frame_reflower.cls.php(330): Frame_Decorator->position() #2 /home/ori0n/public_html/landedproperty.sg/landedv2/plugins/dompdf/include/frame_decorator.cls.php(711)'>landedproperty.sg/landedv2/plugins/dompdf/include/frame_decorator.cls.php(711): Text_Frame_Reflower->reflow(NULL) #3 /home/ori0n/public_html/landedproperty.sg/landedv2/plugins/dompdf/include/page_frame_reflower.cls.php(123): Frame_Decorator->reflow() #4 /home/ori0n/public_html/landedproperty.sg/landedv2/plugins/dompdf/include/frame_decorator.cls.php(711)'>landedproperty.sg/landedv2/plugins/dompdf/include/frame_decorator.cls.php(711): Page_Frame_Reflower->reflow(NULL) #5 /home/ori0n/public_html/landedproperty.sg/landedv2/plugins/dompdf/include/dompdf.cls.php(951): Frame_Decorator->reflow() #6 /home/ori0n/publ in /home/ori0n/public_html/landedproperty.sg/landedv2/plugins/dompdf/include/inline_positioner.cls.php on line 37
Any idea how to resolve this.
I was trying to export to PDF.



Hi
Sorry to ask if anyone knows of known issues between Apache 4 and DOMPDF? Please advise

M
MikeT 4/28/2018

I had the same error. What I've found out so far:
-this error was gone after setting "DOMPDF_ENABLE_HTML5PARSER" to true in dompdf_config.inc.php
-the dompdf-version for phprunner (the one linked from the manual) does not seem to be compatible with php 7.2, 7.1 seems to work (it helps to set the memory limit if you're on a shared host)
Is there any information what version of dompdf is included in phprunner, I didn't find this information?

J
justinkongyt author 5/3/2018



I had the same error. What I've found out so far:
-this error was gone after setting "DOMPDF_ENABLE_HTML5PARSER" to true in dompdf_config.inc.php
-the dompdf-version for phprunner (the one linked from the manual) does not seem to be compatible with php 7.2, 7.1 seems to work (it helps to set the memory limit if you're on a shared host)
Is there any information what version of dompdf is included in phprunner, I didn't find this information?



Wow! Let me try this out! Will keep you posted! Thank you!

J
justinkongyt author 5/3/2018



I had the same error. What I've found out so far:
-this error was gone after setting "DOMPDF_ENABLE_HTML5PARSER" to true in dompdf_config.inc.php
-the dompdf-version for phprunner (the one linked from the manual) does not seem to be compatible with php 7.2, 7.1 seems to work (it helps to set the memory limit if you're on a shared host)
Is there any information what version of dompdf is included in phprunner, I didn't find this information?



Dear Sir!!
You ARE CORRECT!!!! Thank you for your advise!! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=84930&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' /> Can admin list this problem somewhere so that someone else can find this solution? <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=84930&image=2&table=forumreplies' class='bbc_emoticon' alt=':)' />