Support

Home Forums Event Espresso Premium Vieweing full order confirmation receipt or invoice generates errors

Vieweing full order confirmation receipt or invoice generates errors

Posted: September 19, 2016 at 9:34 pm

Viewing 7 reply threads


tschoerie

September 19, 2016 at 9:34 pm

On the ‘Thank You’ screen after completing an order clicking the ‘View Full order Confirmation Receipt’ or ‘View Invoice’ the following errors are generated above the invoice/Receipt:

Warning: getimagesize(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed in /wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 335

Warning: getimagesize(): Failed to enable crypto in /wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 335

Warning: getimagesize(https://www.pharmout.net/pharmout_working/wp-content/uploads/2015/12/pharmout_logo.png): failed to open stream: operation failed in /wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 335

Thanks
Steve

  • This topic was modified 8 years ago by Tony. Reason: Removed server path


Tony

  • Support Staff

September 20, 2016 at 5:54 am

Hi there,

Warning: getimagesize(): SSL operation failed with code 1. OpenSSL Error messages: error:14090086:SSL routines:ssl3_get_server_certificate:certificate verify failed

This error usually means the CA file on your server is out of date (or missing) I would recommend contacting your hosting provider with the above error to have them update the root CA file on the server.

The other two warnings are happening because of the first so once the above is fixed it should work as expected.


tschoerie

September 21, 2016 at 11:09 pm

Hi Tony,

Our Multi Domain cert is set to expire on Dec 9, just verified with hosting support that this is in place and active.
Strange thing is that the SSL checker tools online show it expires in 2 days – anyway different issue but the cert is valid. Any other ideas what may be causing this – is it related to the last EE update issue was not present prior to that?

Thanks
Steve


Tony

  • Support Staff

September 22, 2016 at 3:37 am

Hi Steve,

is it related to the last EE update issue was not present prior to that?

No, the above has been used in EE4 for a while now.

The issues is NOT with your cert, it’s the root CA file installed on the server which is used to verify the certificate during https connections.

You need to update the CA file on the server which should fix the problem, the problem is that your server can not verify the certificate, take a look here:

http://stackoverflow.com/questions/26148701/file-get-contents-ssl-operation-failed-with-code-1-and-more

and here:

http://stackoverflow.com/questions/32211301/ssl-error-ssl3-get-server-certificatecertificate-verify-failed

However please do NOT follow any instructions to set "verify_peer"=>false or "verify_peer_name"=>false, that basically removes what SSL is used for.

If you are unsure I recommend contacting your host and have them do this for you.


tschoerie

September 27, 2016 at 4:54 pm

Hi Tony,
Really appreciate your detailed explanation, have escalated with the host again to rectify the issue.

Thanks,
Steve


tschoerie

October 5, 2016 at 8:48 pm

Hi Tony,
Thought I had this all sorted with my host, now getting the error below when viewing the invoice on the order:

Warning: getimagesize(): Peer certificate CN=*.sucuri.net' did not match expected CN=http://www.pharmout.net’ in /home/pharmo6/public_html/pharmout_working/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 335

Warning: getimagesize(): Failed to enable crypto in /home/pharmo6/public_html/pharmout_working/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 335

Warning: getimagesize(https://www.pharmout.net/pharmout_working/wp-content/uploads/2015/12/pharmout_logo.png): failed to open stream: operation failed in /home/pharmo6/public_html/pharmout_working/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 335

Here is an example page of with the above error:
https://www.pharmout.net/pharmout_working/?ee=msg_url_trigger&snd_msgr=html&gen_msgr=html&message_type=invoice&context=purchaser&token=1-436f601ccfec460e533e36672627f43b&GRP_ID=2&id=17132

Thanks again for your assistance.
Steve


Tony

  • Support Staff

October 6, 2016 at 12:54 pm

Looks like you are using Securi firewall, is that correct?

I’m not sure how you have the SSL certificate setup for the site but I’m guessing you are using the LetsEncrypt cert provided by Securi?

It looks like you are receiving a cert for securi rather than your site, have you asked your host or securi about the above?


tschoerie

October 6, 2016 at 9:32 pm

Hi,

Yes we use Sucuri for website firewall/monitoring. Have checked with them and the SSL cert setup is correct for them. Will go back to inmotion hosting and see what they can come up with – always a little wary they tend to break more than they fix!!!

Thanks,
Steve

Viewing 7 reply threads

The support post ‘Vieweing full order confirmation receipt or invoice generates errors’ 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