Support

Home Forums Event Espresso Premium Download PDF invoice is not looking good

Download PDF invoice is not looking good

Posted: May 24, 2018 at 7:16 am

Viewing 6 reply threads


matthiasboehning

May 24, 2018 at 7:16 am

Hello,

When I click on view invoice in a registration, I see a nice invoice, with a correct layout, logo and outlining.

When I click download as PDF I get a document where a lot of text has moved around and the logo is not displayed.

I have tried to see if doing it without logo would make it better, but it does not look better as the text is moving and the grid that surrounds the ticket and price is not visible in the download.

How can I fix this?

Thanks!


Tony

  • Support Staff

May 24, 2018 at 7:31 am

Hi there,

Usually, that is caused by allow_url_fopen being disabled on your server, DOMPDF (which EE uses to generate the PDF’s)

If you check your servers error logs do you see any errors on getimageszie() or wrapper_disabled? Or if you just want to check with your host and confirm if allow_url_fopen is enabled and if not request they enabled it on your server tha may be quicker.


matthiasboehning

May 24, 2018 at 8:10 am

Hi Tony,

The alllow_url_fopen is enabled. Here is a copy of the error log:
Thu May 24 10:51:36.989808 2018] [proxy_fcgi:error] [pid 13767:tid 139765583984384] [client 88.66.225.111:51564] AH01071: Got error ‘PHP message: PHP Warning: getimagesize(https://hopeforeurope.org/wp-content/uploads/2017/12/hop-for-europe_logo_web.png): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden\r\n in /home/hopeforeur/domains/hopeforeurope.org/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499\n’, referer: https://hopeforeurope.org/thank-you/?e_reg_url_link=1-af4244d1d23206428877936be120b390
[Thu May 24 10:52:23.303589 2018] [proxy_fcgi:error] [pid 12933:tid 139765558806272] [client 88.66.225.111:51644] AH01071: Got error ‘PHP message: PHP Warning: getimagesize(https://hopeforeurope.org/wp-content/uploads/2017/12/hop-for-europe_logo_web.png): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden\r\n in /home/hopeforeur/domains/hopeforeurope.org/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499\n’, referer: https://hopeforeurope.org/?ee=msg_url_trigger&snd_msgr=html&gen_msgr=html&message_type=receipt&context=purchaser&token=1-af4244d1d23206428877936be120b390&GRP_ID=13&id=117
[Thu May 24 10:52:52.112816 2018] [proxy_fcgi:error] [pid 12935:tid 139765634340608] [client 88.66.225.111:51673] AH01071: Got error ‘PHP message: PHP Warning: getimagesize(https://hopeforeurope.org/wp-content/uploads/2017/12/hop-for-europe_logo_web.png): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden\r\n in /home/hopeforeur/domains/hopeforeurope.org/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499\n’, referer: https://hopeforeurope.org/?ee=msg_url_trigger&snd_msgr=html&gen_msgr=html&message_type=invoice&context=purchaser&token=1-af4244d1d23206428877936be120b390&GRP_ID=14&id=117
[Thu May 24 11:31:18.275841 2018] [autoindex:error] [pid 12981:tid 139765575591680] [client 162.216.19.183:50184] AH01276: Cannot serve directory /home/hopeforeur/domains/hopeforeurope.org/private_html/wp-content/cache/busting/1/wp-content/themes/brooklyn/: No matching DirectoryIndex (index.html,index.htm,index.shtml,index.php,index.php5,index.php4,index.php3,index.phtml,index.cgi,index.pl) found, and server-generated directory index forbidden by Options directive
[Thu May 24 11:31:18.821165 2018] [autoindex:error] [pid 12929:tid 139765617686272] [client 162.216.19.183:50216] AH01276: Cannot serve directory /home/hopeforeur/domains/hopeforeurope.org/private_html/wp-includes/css/: No matching DirectoryIndex (index.html,index.htm,index.shtml,index.php,index.php5,index.php4,index.php3,index.phtml,index.cgi,index.pl) found, and server-generated directory index forbidden by Options directive
[Thu May 24 12:37:21.705876 2018] [proxy_fcgi:error] [pid 12929:tid 139766699820800] [client 95.97.181.150:62471] AH01071: Got error ‘PHP message: PHP Warning: getimagesize(https://hopeforeurope.org/wp-content/uploads/2017/12/hop-for-europe_logo_web.png): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden\r\n in /home/hopeforeur/domains/hopeforeurope.org/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499\n’, referer: https://hopeforeurope.org/thank-you/?e_reg_url_link=1-cdce06480f51820be6d1e595ba437ca7
[Thu May 24 12:37:30.281110 2018] [proxy_fcgi:error] [pid 12933:tid 139766245775104] [client 95.97.181.150:62484] AH01071: Got error ‘PHP message: PHP Warning: getimagesize(https://hopeforeurope.org/wp-content/uploads/2017/12/hop-for-europe_logo_web.png): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden\r\n in /home/hopeforeur/domains/hopeforeurope.org/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499\n’, referer: https://hopeforeurope.org/?ee=msg_url_trigger&snd_msgr=html&gen_msgr=html&message_type=receipt&context=purchaser&token=1-cdce06480f51820be6d1e595ba437ca7&GRP_ID=13&id=57
[Thu May 24 12:37:36.958719 2018] [proxy_fcgi:error] [pid 12935:tid 139766262560512] [client 95.97.181.150:62487] AH01071: Got error ‘PHP message: PHP Warning: getimagesize(https://hopeforeurope.org/wp-content/uploads/2017/12/hop-for-europe_logo_web.png): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden\r\n in /home/hopeforeur/domains/hopeforeurope.org/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499\n’, referer: https://hopeforeurope.org/?ee=msg_url_trigger&snd_msgr=html&gen_msgr=html&message_type=invoice&context=purchaser&token=1-cdce06480f51820be6d1e595ba437ca7&GRP_ID=14&id=57
[Thu May 24 12:37:40.272056 2018] [proxy_fcgi:error] [pid 13767:tid 139766422021888] [client 95.97.181.150:62489] AH01071: Got error ‘PHP message: PHP Warning: getimagesize(https://hopeforeurope.org/wp-content/uploads/2017/12/hop-for-europe_logo_web.png): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden\r\n in /home/hopeforeur/domains/hopeforeurope.org/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499\n’, referer: https://hopeforeurope.org/?ee=msg_url_trigger&snd_msgr=html&gen_msgr=html&message_type=receipt&context=purchaser&token=1-cdce06480f51820be6d1e595ba437ca7&GRP_ID=13&id=57
[Thu May 24 12:37:52.693801 2018] [proxy_fcgi:error] [pid 12981:tid 139766732551936] [client 95.97.181.150:62491] AH01071: Got error ‘PHP message: PHP Warning: getimagesize(https://hopeforeurope.org/wp-content/uploads/2017/12/hop-for-europe_logo_web.png): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden\r\n in /home/hopeforeur/domains/hopeforeurope.org/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499\n’, referer: https://hopeforeurope.org/?ee=msg_url_trigger&snd_msgr=html&gen_msgr=html&message_type=receipt&context=purchaser&token=1-cdce06480f51820be6d1e595ba437ca7&GRP_ID=13&id=57
[Thu May 24 13:03:21.612736 2018] [proxy_fcgi:error] [pid 12981:tid 139766875227904] [client 77.248.162.240:64015] AH01071: Got error ‘PHP message: PHP Warning: getimagesize(https://hopeforeurope.org/wp-content/uploads/2017/12/hop-for-europe_logo_web.png): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden\r\n in /home/hopeforeur/domains/hopeforeurope.org/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499\n’, referer: https://hopeforeurope.org/wp-admin/admin.php?page=espresso_transactions&action=view_transaction&TXN_ID=80&view_transaction_nonce=32dac99f6e&return=-1
[Thu May 24 13:03:36.975249 2018] [proxy_fcgi:error] [pid 12929:tid 139766481610496] [client 77.248.162.240:64017] AH01071: Got error ‘PHP message: PHP Warning: getimagesize(https://hopeforeurope.org/wp-content/uploads/2017/12/hop-for-europe_logo_web.png): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden\r\n in /home/hopeforeur/domains/hopeforeurope.org/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499\n’, referer: https://hopeforeurope.org/?ee=msg_url_trigger&snd_msgr=html&gen_msgr=html&message_type=invoice&context=purchaser&token=1-6deadebfdc360fa7b09b09f47888a8d0&GRP_ID=14&id=80
[Thu May 24 13:05:06.126098 2018] [proxy_fcgi:error] [pid 12940:tid 139766388451072] [client 77.248.162.240:64027] AH01071: Got error ‘PHP message: PHP Warning: getimagesize(https://hopeforeurope.org/wp-content/uploads/2017/12/hop-for-europe_logo_web.png): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden\r\n in /home/hopeforeur/domains/hopeforeurope.org/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499\n’, referer: https://hopeforeurope.org/wp-admin/admin.php?page=espresso_transactions&action=view_transaction&TXN_ID=80&view_transaction_nonce=32dac99f6e&return=-1
[Thu May 24 13:08:36.900556 2018] [proxy_fcgi:error] [pid 12929:tid 139766481610496] [client 77.248.162.240:64064] AH01071: Got error ‘PHP message: PHP Warning: getimagesize(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/hopeforeur/domains/hopeforeurope.org/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499\nPHP message: PHP Warning: getimagesize(http://hop-for-europe_logo_web): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/hopeforeur/domains/hopeforeurope.org/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499\n’, referer: https://hopeforeurope.org/wp-admin/admin.php?page=espresso_transactions&action=view_transaction&TXN_ID=80&view_transaction_nonce=32dac99f6e&return=-1
[Thu May 24 13:08:43.280778 2018] [proxy_fcgi:error] [pid 12981:tid 139766875227904] [client 77.248.162.240:64065] AH01071: Got error ‘PHP message: PHP Warning: getimagesize(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/hopeforeur/domains/hopeforeurope.org/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499\nPHP message: PHP Warning: getimagesize(http://hop-for-europe_logo_web): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/hopeforeur/domains/hopeforeurope.org/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 499\n’, referer: https://hopeforeurope.org/?ee=msg_url_trigger&snd_msgr=html&gen_msgr=html&message_type=invoice&context=purchaser&token=1-6deadebfdc360fa7b09b09f47888a8d0&GRP_ID=14&id=80

Anything that helps??

Thanks


Tony

  • Support Staff

May 24, 2018 at 8:12 am

HTTP request failed! HTTP/1.1 403 Forbidden

403 means something on the server is blocking the connection.

Do you have iThemes security installed?


matthiasboehning

May 24, 2018 at 8:19 am

iThemes is indeed active. We cannot disable that. Can we change a setting?


Tony

  • Support Staff

May 24, 2018 at 8:48 am

Yes, in settings make sure ‘Enable HackRepair.com’s blacklist feature’ is unchecked.


matthiasboehning

May 28, 2018 at 2:09 am

Thanks that worked!

Viewing 6 reply threads

The support post ‘Download PDF invoice is not looking good’ 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