Support

Home Forums Event Espresso Premium Invoice Output is blank

Invoice Output is blank

Posted: February 3, 2016 at 8:47 am

Viewing 25 reply threads


Dan Rositano

February 3, 2016 at 8:47 am

We have our system setup so that a customer has the option of generating an invoice. It has been working fine for the last couple of years then all of the sudden the invoice that usually generates for people to print, has no information!!

I have a copy of an invoice that I can provide to show what is going on.

Any assistance is greatly appreciated.

Thank you.


Lorenzo Orlando Caum

  • Support Staff

February 3, 2016 at 10:00 am

Hi Dan,

Could you temporarily turn on WordPress debugging through your wp-config.php file?

https://gist.github.com/lorenzocaum/848801a1173be464fbe7

Then please try to trigger the invoice one more time. If you see any information, then please copy and paste it here into a reply.

If you do not, then please check your WordPress debug log here using your preferred SFTP / FTP client (e.g. Cyberduck, FileZilla):

/wp-content/debug.log

Then please copy and paste that information here.

Be sure to remove the debugging constants from your wp-config.php file after you reply here.


Lorenzo


Dan Rositano

February 3, 2016 at 2:15 pm

Lorenzo,

See below for the log items. I have also been told by my users that they are experiencing other problems in addition to this one. I did some homework and believe that everything is going wrong since the 3.1.37.7 update on February 1st. The log is very large since 2/1. The other problems include paid registration showing as unpaid in the event attendee list when paid by cc thru PayPal, invoice information not populating, no email confirmations coming to the admin when someone registers and pays by credit card.

Here is the log:

*redacted*

  • This reply was modified 8 years, 8 months ago by Josh. Reason: this log is too long; removed sensitive server details and irrelevant information


Josh

  • Support Staff

February 3, 2016 at 2:54 pm

Hi Dan,

Not much has changed since the last version. If you updated from a much older version, and have some customizations squirreled away in /wp-content/uploads/espresso/templates or /wp-content/uploads/espresso/gateways, that’s where you’ll need to update your code to be compatible with the current version.

If you’d like an older copy of EE3 to go back to, those are available from github:

https://github.com/eventespresso/event-espresso-legacy/releases


Lorenzo Orlando Caum

  • Support Staff

February 3, 2016 at 3:04 pm

Hi Dan, we are actually looking for an error rather than notices.

The log should not appear so long if it was briefly turned on for a minute or so.

Was anything shown on the invoice link when you browsed to the link after debug was turned on?

Any customizations to the invoice payment method by a developer?


Lorenzo


Dan Rositano

February 3, 2016 at 3:23 pm

I have a screen shot I can send you if you tell me how. We are using EE out of the box. Since the update we are getting 504 and 505 gateway errors as well as issues with Paypal. I noticed and update for paypal gateway to use http/1.1 and some email filters.


Josh

  • Support Staff

February 3, 2016 at 3:40 pm

You’re more than welcome to try the previous release if you think that will help.


Dan Rositano

February 4, 2016 at 6:25 am

Josh – That will help me short term but not long term. I would like to get this resolve moving forward.

Also, I checked github for version 3.1.37.6 and can’t find the exact download. Can you send me a direct link?

Thanks.


Tony

  • Support Staff

February 4, 2016 at 6:48 am

I have a screen shot I can send you if you tell me how.

You’ll need to host the image somewhere and post the link here we can view, or send the image to support[at]eventespresso.com

Since the update we are getting 504 and 505 gateway errors as well as issues with Paypal. I noticed and update for paypal gateway to use http/1.1 and some email filters.

Those updates are very unlikely to cause those issues.

Are you intermittently getting 5XX errors? Have you checked the server errors logs to see what is causing those?

Do you have a test event we can run a registration on to view this?


Dan Rositano

February 4, 2016 at 7:49 am

Yes the 5xx erros are intermittent.

Here is a link to the screen shot.

http://asamidwest.com/wp-content/uploads/2016/02/Invoice_6970_february-2016-membership-dinner-meeting-5-561fe4400f224.pdf

Also, below is the debug log output. When I put the system into debug mode it wouldn’t load the Event Espresso pages. It just listed the output.

*Removed – Tony*

  • This reply was modified 8 years, 8 months ago by Tony. Reason: Removed server logs


Josh

  • Support Staff

February 4, 2016 at 8:19 am

To fix the PayPal issue you’re seeing, you can go back to the previous version of Event Espresso 3, which you can download from the github.com page I linked to earlier. You’ll find the 2nd item on the page is for version 3.1.37.6, and you’ll see a link to download the zip file right there.

The long term fix for the problem you’re seeing is likely that you’ll need to update your server so it can use http/1.1. The 505 error indicates it can’t, and PayPal will start requiring http/1.1 starting on June 17, 2016. Before that date, and before you update to 3.1.37.7, you will need to verify that your environment supports TLS 1.2 and HTTP/1.1. They’ve outlined more information here:

https://www.paypal-knowledge.com/infocenter/index?page=content&id=FAQ1913


Tony

  • Support Staff

February 4, 2016 at 8:31 am

I’ve removed the logs from public view but support can see them if we need them.

However none of the notices in that log are from event espresso, with the exception of one:


PHP Warning: session_start(): Cannot send session cookie – headers already sent by (output started at /wp-content/plugins/rotating-ad/rotating-ad-install.php:57) in /wp-content/plugins/event-espresso/espresso.php on line 80

Which basically means, Event Espresso tried to start a session but something else got there first (when it should not have), this would be expected when other plugins (or the theme) are causing notices to be thrown and will usually only happen when WP_Debug mode is enabled.

PHP Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
__construct()

These errors mean a plugin (or possibly the theme) is creating a widget in the ‘old’ way which is now incorrect. Either the plugin or theme will need to be updated to prevent these notices from being thrown.

There’s a lot of notices being thrown from the theme which means it likely needs to be update to the current WP Standards, I’m assuming it is a template monster or similar theme?

Without seeing some kind of error we can’t see what is causing the problem with the invoices, but the amount of notices being thrown by the theme or other plugins mean you can’t just enable WP-Debug and leave it to display errors, as you’ve found it just swamps the page.

If looking for a long term fix you’ll need to find which plugins (or parts of theme) are causing the notices to be thrown and fix those too, either by updating or switching to another plugin/theme that has been updated.


Dan Rositano

February 4, 2016 at 3:55 pm

I did some more work on this issue. We reverted back to 3.1.37.6 but when we tested are still showing up at the top of the list should have a green check mark, completed status, are still coming thru incomplete.

Also, I disabled plugins to get the debug to work and I discovered that when I disabled the Contact Form 7 plugins the invoice option works. Can you tell me why that is? Are there any know issues?

Thanks.


Josh

  • Support Staff

February 4, 2016 at 7:46 pm

We’re not aware of any issues with the Contact Form 7 plugin.


Dan Rositano

February 5, 2016 at 6:58 am

Josh,

Any update on the PayPal issue. Customers are paying with PayPal but we are not receiving emails confirmations from EE nor are the transactions showing up at completed. They remain incomplete.

Thanks.


Josh

  • Support Staff

February 5, 2016 at 7:43 am

Hi Dan,

We have a troubleshooting guide for PayPal that you can follow here:
https://eventespresso.com/wiki/how-to-set-up-paypal-ipn/#troubleshooting


Dan Rositano

February 5, 2016 at 11:43 am

Josh,

We went through the guide and everything checks out. Our web person says that the transactions are showing up in paypal it’s just not sending the notifications from Event Espresso. What are some other things I can check? Is it possible for you to login and take a look?

Thanks


Josh

  • Support Staff

February 5, 2016 at 11:59 am

There isn’t much to check from logging into the WordPress admin I’m afraid. Did you check the PayPal error log in /wp-content/uploads/espresso/logs? We’re there any errors there? Please do not post them here if there are, instead, please post them in a pastebin or gist and the a link to the log message here.

It will also be good to contact your host and make sure the server has been updated as outlined by the new PayPal requirements:

https://www.paypal-knowledge.com/infocenter/index?page=content&id=FAQ1913


Dan Rositano

February 5, 2016 at 2:24 pm

I have pasted the information from my log here:

https://gist.github.com/sonaros/9af50194aaa3c92e4b96

Also I have contacted hostgator who is the web hosting provider for this domain and they have told me that the servers have the latest version for TLS and HTTP/

Please let me know if you see anything that will help me resolve this issue.

Thank you


Josh

  • Support Staff

February 5, 2016 at 4:13 pm

Your log file’s last entry was from 2014, so it really doesn’t shed any light on what’s going on.

If you deactivate all of your WordPress plugins, then run a PayPal transaction, does the IPN get received by your site/


Dan Rositano

February 5, 2016 at 4:34 pm

Apparently it truncated the recent data. I just pasted only the 2016 info. Can you please recheck and see if you can help me resolve this.

Thanks.


Josh

  • Support Staff

February 5, 2016 at 5:05 pm

That’s not from a PayPal IPN log file. The paypal IPN log file’s name has paypal.log in its name.


Dan Rositano

February 8, 2016 at 7:43 am

OK, I think I found the right file if you could check again.

Thanks


Josh

  • Support Staff

February 8, 2016 at 10:26 am

This is the error message you need to give to your server administrator:

Errors resulting from the execution of curl transfer: Couldn't resolve host 'www.paypal.com'[02/05/2016 12:28 PM] - FAIL: IPN Validation Failed . /cgi-bin/webscr : www.paypal.com

It may be the server hasn’t been configured to know how to do DNS lookups so that it can talk to external webservers.


Dan Rositano

February 8, 2016 at 3:16 pm

Question. The web server is Hostgator and this was working properly before the 2/1 EE update. Woudln’t all wordpress sites running event espresso be having the same problem then?

Thanks,


Josh

  • Support Staff

February 8, 2016 at 7:23 pm

No we haven’t heard of any other reports where it stopped working after the update, and you tried the previous version and it still doesn’t work for your site, right?

Viewing 25 reply threads

The support post ‘Invoice Output is blank’ 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