Support

Home Forums Event Espresso Premium Invoice layout

Invoice layout

Posted: October 26, 2018 at 7:00 am

Viewing 22 reply threads


goodworking

October 26, 2018 at 7:00 am

Hi,
after the latest updates I noticed that the layout of the bill is badly laid out. No changes have been made to the site.

Could you verify please?
Thank you

Giuseppe


goodworking

October 26, 2018 at 7:10 am

This reply has been marked as private.


Tony

  • Support Staff

October 26, 2018 at 7:48 am

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?


goodworking

October 26, 2018 at 8:05 am

This reply has been marked as private.


goodworking

October 26, 2018 at 8:08 am

This reply has been marked as private.


goodworking

October 26, 2018 at 8:08 am

This reply has been marked as private.


Tony

  • Support Staff

October 26, 2018 at 8:30 am

As far as I am aware we’ve not made any changes to the messages system in quite a while

Actually, this was incorrect, DOMPDF was updated in the latest version of EE although there should be no new requirements for that version.

Can U enter on my website and check it?

Everything looks correct as far as I can see.

In your wp-config.php file, remove this:

if ( WP_DEBUG ) {
        @ini_set( 'display_errors', 0 );
        define( 'WP_DEBUG_LOG', true );
        define( 'WP_DEBUG_DISPLAY', false );
}

and just leave this:

define( 'WP_DEBUG', true );

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.


goodworking

October 26, 2018 at 8:34 am

This reply has been marked as private.


goodworking

October 26, 2018 at 9:36 am

This reply has been marked as private.


Tony

  • Support Staff

October 26, 2018 at 9:46 am

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:

https://eventespresso.com/send-login-details/


goodworking

October 26, 2018 at 9:56 am

This reply has been marked as private.


Tony

  • Support Staff

October 26, 2018 at 9:59 am

Sure, although I’ll be enabling/disabling debug mode to investigate this.


Tony

  • Support Staff

October 26, 2018 at 10:52 am

This reply has been marked as private.


goodworking

October 26, 2018 at 10:56 am

This reply has been marked as private.


goodworking

October 29, 2018 at 8:39 am

This reply has been marked as private.


Tony

  • Support Staff

October 29, 2018 at 8:56 am

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.


goodworking

October 31, 2018 at 2:40 am

This reply has been marked as private.


Tony

  • Support Staff

October 31, 2018 at 3:26 am

Sure, but you’ll need to give me more details on exactly what you want to output, and where so that I can help.


goodworking

October 31, 2018 at 3:33 am

This reply has been marked as private.


Josh

  • Support Staff

October 31, 2018 at 6:42 am

Hi,

You can remove the <ul> and </ul> tags there, and replace with
<p> and </p>.


goodworking

October 31, 2018 at 7:26 am

This reply has been marked as private.


Josh

  • Support Staff

October 31, 2018 at 7:33 am

Oh I see, that part is within a table. You’ll need to wrap those in a table row & cell too.
e.g.

<tr><td style="text-align: left;" colspan="5">
<p>Data Evento:</strong> [DATETIME_LIST]</p></td></tr>


goodworking

October 31, 2018 at 7:46 am

This reply has been marked as private.
Viewing 22 reply threads

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.

Event Espresso