Support

Home Forums Event Espresso Premium PDF with missing photo links

PDF with missing photo links

Posted: October 16, 2017 at 9:10 am

Viewing 6 reply threads


Oguzhan Altun

October 16, 2017 at 9:10 am

Hello,

Last issue we found out from our testing. If the user creates the pdf after registration, all the photo links seem to be broken:

[IMG]http://i63.tinypic.com/k206r.png[/IMG]

I think this is because the original installation was at http://www.zurichphotoclub.com and we moved this installation to zurich.swissphotoclub.com domain.

You can test this one also at any of the events:
https://zurich.swissphotoclub.com/en/dates-prices/

How to fix it?


Oguzhan Altun

October 16, 2017 at 9:11 am

error pdf


Oguzhan Altun

October 16, 2017 at 9:14 am

Error PDF image


Oguzhan Altun

October 16, 2017 at 9:15 am

Here is the image file with the error


Tony

  • Support Staff

October 16, 2017 at 9:43 am

Hi there,

If you open up the Receipt/Invoice in the browser you’ll see this error:

Warning: getimagesize(): https:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 504

We use DOMPDF to create the PDF’s which requires allow_url_fopen is enabled on the server. Contact your host and have them enable the above for you, the PDF’s should then work.


Oguzhan Altun

October 16, 2017 at 10:46 am

Hi,

I enabled the allow_url_fopen but I still have issues with the pdf. As you can see, it’s still trying to pull data from zurichphotoclub.com instead of zurich.swissphotoclub:

https://drive.google.com/open?id=0ByuPHmuri4cXSlUzYWtNbkF6MVU


Tony

  • Support Staff

October 16, 2017 at 1:16 pm

In that case you didn’t migrate all tables to use the new domain when you changed it over.

If you haven’t altered the Receipt template at all, you can go to:

Event Espresso -> Messages -> Default Message Templates -> Receipt

Then click ‘Reset Templates’ in the sidebar to force EE to reset the templates and rebuilt the image URLs.

Or if you prefer switch to text mode, find the image URLs and update them manually there.

Save and retest to confirm.

Then do the same for the ‘Invoice’ message template.

Viewing 6 reply threads

The support post ‘PDF with missing photo links’ 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