Based on the previous 5 installs I done on sites for EE I just strip out the PDF button because it has never worked on any of the sites or servers. But in this case, my client is requesting it so I’d like to try and make it work.
We are on the latest version of EE4 and wordpress
PHP 7.0.27
PHP settings on the server and in the php.ini file have:
– allow_url_fopen enabled
– Memory Limit 256
GD Services are installed.
ERROR LOG
(tested again fresh today after several updates with a full apache restart)
[15-Feb-2018 18:09:12 UTC] PHP Warning:
getimagesize(http://www.oursite.com/wp-content/uploads/2017/06/College.png): failed to open stream: no suitable wrapper could be found in /home/OURSITE/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 504
[15-Feb-2018 18:09:12 UTC] PHP Fatal error: Call to undefined function mb_internal_encoding() in /home/OURSITE/public_html/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/dompdf_config.inc.php on line 329
No Plugin based security methods are in use (Ithemes, All in one etc)
We took the images out of the invoice/receipt etc that are producing the errors.
I disabled any plugins that may be using it’s own dompdf function.
You’ll need to contact your host and ask them if the server can meet these requirements (all required by the domPDF script that generates the PDF) :
PHP version 5.4.0 or higher
DOM extension installed
GD extension installed
MBString extension installed
php-font-lib
php-svg-lib
allow_url_fopen enabled
Viewing 1 reply thread
The support post ‘PDF Download’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.