Support

Home Forums Event Espresso Premium Logo does not display on PDF invoice

Logo does not display on PDF invoice

Posted: July 15, 2016 at 8:30 am


Tony

  • Support Staff

July 15, 2016 at 8:39 am

Hi there,

Does the image display on the HTML version of the Invoice, its only when you view it within the PDF?

If so then its likely your host has allow_url_fopen disabled on the server. The PDF’s are generated using DOMPDF which requires allow_url_fopen to be enabled to pull in the images and styles.


twelvetwo

July 15, 2016 at 8:41 am

It does display when viewed HTML. I’ll check on allow_url_fopen now.

Thanks for quick reply.


twelvetwo

July 15, 2016 at 9:16 am

Update: allow_url_fopen is enabled on the server, but logo still does not display. Any known issues with this?


Tony

  • Support Staff

July 15, 2016 at 9:39 am

No, no other known issues.

If you load the HTML version of the PDF, enable WP_DEBUG and download the PDF it should show any errors being thrown.

You won’t be able to view the PDF normally, but you can open it within something like Sublime Text and view any errors there. Or if you prefer download the PDF with WP_DEBUG enabled and send it to support[at]eventespresso.com and I’ll take a look.

(If emailing the PDF please include a link to this thread within the content of the email)


carrypermit

July 30, 2016 at 8:34 am

Hello, I’m experiencing this exact same issue. Was there a resolution to this?


Tony

  • Support Staff

August 1, 2016 at 6:48 am

One thing we have seen (although its rare) is the server config preventing the request with some form of hotlink protection.

DOMPDF treats each image and script as an external source and loads the file using the full URL, this may trigger hotlink protection on the site but usually not.

@carrypermit I’ve replied to your other thread regarding this, if you could reply there we can troubleshoot your setup there.

The support post ‘Logo does not display on PDF invoice’ 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 3 years, 3 months ago ago

Topic Tags

Tagged: , ,

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!
[for="input_96_5_3"]
[for="input_96_5_3"]
[gravityform id=96 title=false description=false]
  • This field is for validation purposes and should be left unchanged.
[i]
[i]
[gravityform id=69 title=false description=false]
  • This field is for validation purposes and should be left unchanged.