patpohler / pdf_press_issues

This is a (former) issue tracker repository for the PDF Press add-on for ExpressionEngine. Please direct any new support questions or issues to support@triplenerdscore.net
0 stars 0 forks source link

Error for PDF-press #1

Open DalizPR opened 6 years ago

DalizPR commented 6 years ago

Hi, got the following error, my template is almost empty

{exp:pdf_press:parse_pdf}
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <title>test</title>
    </head>
    <body>
        test
    </body>
</html>

{/exp:pdf_press:parse_pdf}

The following errors were encountered PDF Press: There was an error in the DOMPDF Library, usually this means your HTML/CSS is not compliant in some way, please check your HTML/CSS markup using the W3C Validator (http://validator.w3.org). Error Message: No block-level parent found. Not good. Return to Previous Page

Am i missing some components on my server, and how can resolve this issue?

For more info: http://www.daliz.nl/php-info.php

Thanks, Dave

patpohler commented 6 years ago

Hey Dave, the template looks fine and it looks like you have all of the needed components installed. Sometimes this error happens if there are two instances of the dompdf library running. I have a couple of questions

  1. Are you using the two PDF methods together in some way? Say for instance having a button on another template that uses the "save_to_pdf" tag to point to the template you posted above?

  2. Are you viewing the template in PDF Preview or are you viewing the template directly in the browser?

Also if you can give me CP access you can email me at ppohler at anecka (.) com w/ the login and I can view your setup.

DalizPR commented 6 years ago

Hi Patrick, did you receive my mail with my login-details?