Support

Home Forums Event Espresso Premium Warning message on HTML Receipt and PDF Invoice

Warning message on HTML Receipt and PDF Invoice

Posted: February 15, 2015 at 12:50 pm

Viewing 6 reply threads


Visual Facilitators

February 15, 2015 at 12:50 pm

I get a warning on the html registration receipt and on invoice:
Warning: getimagesize(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /***/***/visualisierung.training/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 289

Warning: getimagesize(http://visualisierung.training/wp-content/uploads/2015/02/VF-Logo-Transaprent-200x44px.png): failed to open stream: no suitable wrapper could be found in /***/***/visualisierung.training/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 289

And when I switch to download PDF this message appears and no PDF is shown:
Warning: getimagesize(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /***/***/visualisierung.training/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 289

Warning: getimagesize(http://visualisierung.training/wp-content/uploads/2015/02/VF-Logo-Transaprent-200x44px.png): failed to open stream: no suitable wrapper could be found in /***/***/visualisierung.training/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 289
Unable to stream pdf: headers already sent


Visual Facilitators

February 15, 2015 at 12:51 pm

I have tried to upload another picture and to actualize the image through FTP, both did not change the issue


Tony

  • Support Staff

February 16, 2015 at 10:23 am

Hi Heinz,

This error:

http:// wrapper is disabled in the server configuration by allow_url_fopen=0

Means that fopen has been disabled on your server.

Event Espresso 4 uses DOMFPDF to generate the PDF’s. That library requires fopen to be enabled on the server.

I would recommend contacting your host and have them enable fopen for your site.


Visual Facilitators

February 16, 2015 at 2:06 pm

Thank you have activated that through the php.ini
A pity that now the server is open for attacks from outside.
Do you not have another possibility to generate PDFs?


Tony

  • Support Staff

February 16, 2015 at 2:52 pm

Do you not have another possibility to generate PDFs?

There are a few open source PDF generators, all of which (as far as I know) require fopen. I may be wrong on that, but short of writing our own PDF library there isn’t much we can do.


Visual Facilitators

February 16, 2015 at 2:56 pm

Thank you! I just noticed that many provider do not recommend to activate fopen.
For now it works.


Tony

  • Support Staff

February 16, 2015 at 3:45 pm

I’m glad its working for you, I’ll mark this thread resolved.

Viewing 6 reply threads

The support post ‘Warning message on HTML Receipt and 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.

Event Espresso