Support

Home Forums Event Espresso Premium PD Download for registrant invoice

PD Download for registrant invoice

Posted: February 21, 2018 at 9:41 am

Viewing 9 reply threads


VetDynamics

February 21, 2018 at 9:41 am

Hello

Currently having issues downloading the receipt invoice PDF you can generate from registrants sign ups.

It redirects me to this link: **REMOVED**

which does not work, it shows my home page without any css.

Can someone please help me out?

Thanks 🙂

  • This topic was modified 6 years, 9 months ago by Tony. Reason: Removed link


Josh

  • Support Staff

February 21, 2018 at 12:17 pm

Hi there,

That shouldn’t be an issue if you can update your site to the current version of Event Espresso 4 which includes a workaround for servers with older versions of libxml.

If updating to the current version does not help, you can contact your host to see if they have a mod security rule that gets tripped when you try to download the PDF.


VetDynamics

February 22, 2018 at 2:25 am

Thanks Josh,

The download works now, however on the receipt the [INVOICE_PAYEE_NAME}
& [INVOICE_PAYEE_TAX_NUMBER_*] are not showing?


VetDynamics

February 22, 2018 at 2:30 am

I also get this error when trying to download the receipt:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 4104 bytes) in /home/vetdynam/public_html/wp-content/plugins/event-espresso-core-reg/core/third_party_libs/dompdf/lib/class.pdf.php on line 3182


Tony

  • Support Staff

February 22, 2018 at 3:05 am

>Fatal error: Allowed memory size of 134217728 bytes exhausted

Means your site is running out of memory at roughly 138MB, I’m not getting that error when downloading both the Invoice and Receipt PDF’s on your site.

Do you still get the error?

The download works now, however on the receipt the [INVOICE_PAYEE_NAME}
& [INVOICE_PAYEE_TAX_NUMBER_*] are not showing?

If you edit the receipt template and remove those shortcodes, save the template, and then re-add them and save again, do they work then?


VetDynamics

February 22, 2018 at 3:21 am

Strange… the site has plenty of memory (just checked CPanel)? How do I stop this?

How did you manage to access our site and download the PDF’s?

I am still getting the error, yes.


VetDynamics

February 22, 2018 at 3:24 am

I edited the receipt template and followed your instructions, but it is still not working…


Tony

  • Support Staff

February 22, 2018 at 4:10 am

Strange… the site has plenty of memory (just checked CPanel)? How do I stop this?

What did you check on cPanel? RAM? It may be showing the memory available on the server, not the memory available on your site.

Your site has ~138MB of memory available to it, depending on the plugins you have enabled and various other factors you may need more.

How did you manage to access our site and download the PDF’s?

Using the link you provided: **REMOVED – Tony**

Downloading the PDF for both the invoice and receipt for the above I don’t see any errors?

I edited the receipt template and followed your instructions, but it is still not working…

We’ll need to do some investigating for this as I can’t reproduce.

Does the same happen if you ‘Preview’ the receipt from the message system?

Event Espresso -> Messages -> Default message templates -> Receipt.

Click the Preview button at the top, do you still see the same there?

  • This reply was modified 6 years, 9 months ago by Tony. Reason: Removed link


VetDynamics

February 22, 2018 at 4:36 am

Hi Tony

I have removed inactive plugins and now the site downloads the receipt. However the tokens still do not work, so I have replaced them with the following and it still seems to work:

<div>[COMPANY] UK Ltd</div>
<div>[CO_TAX_NUMBER_*]</div>

Thanks for your help.


Tony

  • Support Staff

February 22, 2018 at 5:26 am

That’s strange, I’ll do some digging and see if I can find anything further.

I realised the above looked like a valid invoice so I’ve removed all of the links to that invoice from this thread. As the forums are public I highly recommend if you are posting links directly to registrations/invoices/receipts etc they are only for test registrations you have made to show the problem.

I wasn’t sure if that was the case above, so I’ve removed them anyway.

Viewing 9 reply threads

The support post ‘PD Download for registrant 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