Support

Home Forums Event Espresso Premium logo doesn't show in invoice pdf

logo doesn't show in invoice pdf

Posted: August 16, 2017 at 1:26 pm

Viewing 1 reply thread


erika@pro-train.org

August 16, 2017 at 1:26 pm

Hi
the logo shows on the online invoice but not in the pdf file. The pdf file has a message saying “image not found”.
Would you please tell me what I have to do to get the logo to show up in the pdf file as well?

Thanks . . .


Josh

  • Support Staff

August 16, 2017 at 3:24 pm

Hi Erika,

It’s likely your webhost has allow_url_fopen() deactivated on the server. The PDFs are generated using a script called DOMPDF which requires the allow_url_fopen() function to be enabled so it can pull in the images and styles. You can contact your host to see if they can check on activating that function.

If they find that allow_url_fopen() is activated then it may be the server configuration is 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, and this may trigger hotlink protection on the site.

Viewing 1 reply thread

The support post ‘logo doesn't show in invoice pdf’ 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