Posted: October 26, 2018 at 7:00 am
|
Hi, Could you verify please? Giuseppe |
|
This reply has been marked as private. |
Hi Giuseppe, As far as I am aware we’ve not made any changes to the messages system in quite a while, usually when we see this issue its because allow_url_fopen has been disabled on the server. If you enable WP_DEBUG on the site using this code: https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug Do you see any errors when downloading the PDF? |
|
|
This reply has been marked as private. |
|
This reply has been marked as private. |
|
This reply has been marked as private. |
Actually, this was incorrect, DOMPDF was updated in the latest version of EE although there should be no new requirements for that version.
Everything looks correct as far as I can see. In your wp-config.php file, remove this:
and just leave this:
Note that doing so will display any errors on your site to your visitors, let me know when this has been done and I’ll run a test. |
|
|
This reply has been marked as private. |
|
This reply has been marked as private. |
Ok so there are no errors at all but for some reason, the CSS files aren’t available to DOMPDF when it renders the PDF. I’m going to need access to the server to add some debug code to try and narrow this down, right now I can’t see if this is an issue with the DOMPDF update, or something specific to your server (I can’t reproduce this on my servers). Can you submit all of the requested details on this form please: |
|
|
This reply has been marked as private. |
Sure, although I’ll be enabling/disabling debug mode to investigate this. |
|
This reply has been marked as private. | |
|
This reply has been marked as private. |
|
This reply has been marked as private. |
It looks like you’ve edited the default output and the HTML is invalid – http://take.ms/5rCc6 A UL with no li’s. The library used to generate the PDF’s (DOMPDF) is much less forgiving of invalid HTML than your browser is, you’ll need to make sure you use valid HTML in the template. |
|
|
This reply has been marked as private. |
Sure, but you’ll need to give me more details on exactly what you want to output, and where so that I can help. |
|
|
This reply has been marked as private. |
Hi, You can remove the |
|
|
This reply has been marked as private. |
Oh I see, that part is within a table. You’ll need to wrap those in a table row & cell too.
|
|
|
This reply has been marked as private. |
The support post ‘Invoice layout’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.