Posted: August 2, 2018 at 11:23 am
|
Hi When a user finish the registration process for a event and donwload de invoce pdf, the pdf is donwloaded but when is opened dont show any images (header image, calendar icon image, etc.) only show this “Image not found” error and the url of the image. |
Hi, The first thing to do is check with the server administrator and make sure the following server requirements are met:
|
|
|
Hi The site is in PHP 7.2, and I checked with my hosting provider and all the requirements are met. |
|
I make a test creating a pdf and the php error log show this: Deprecated: Function create_function() is deprecated in /home/pymenauta/public_html/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/include/text_frame_reflower.cls.php on line 374 |
Hi MauRoverssi, Firstly, my apologies. I just accidentally reset your license key (a schoolboy error on my part), you can ignore the email about resetting your EE will relink your domain to your site shortly, or you can force it to relink by following the steps, either way it won’t affect the functionality on your site and is not linked to the issue above. Can you link me to either a test event I can run a registration on, or link me directly to view an invoice for a test registration? |
|
|
Hi Tony I created this temporary test event https://pymenauta.com/eventoss/responsabilidad-social-en-las-pymes-2/
|
As far as I can tell, allow_url_fopen is not enabled. The PDF version of the invoice isn’t loading any of the styles as well as images, that usually happens when allow_url_fopen is not enabled. It could possibly be due to the changes you’ve made to the invoice template, is that a custom template or have you edited the default? |
|
|
Hi allow_url_fopen was disabled. I enable but still now working. Is the default template, I only edited in Messages. |
Ok, so Josh posted all of the requirements for DOMPDF here: https://eventespresso.com/topic/pdf-without-images/#post-274875 You previously stated those were all met, but If you enable WP_Debug using this code in your https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug Then download a PDF and look in Do you see any errors? |
|
The support post ‘PDF without images’ 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.