Support

Home Forums Event Espresso Premium PHP Warning + Switch to Receipt not working + Download PDF result not optimized

PHP Warning + Switch to Receipt not working + Download PDF result not optimized

Posted: January 16, 2018 at 11:52 pm


Sipep Design

January 16, 2018 at 11:52 pm

Hi, I’m getting series of issues from the EE plugins invoices
– 1) First i’m getting a PHP warning in the invoice page please see attached screenshot.

– 2) Switch to Receipt is not working or does not display any result
– 3) Download PDF result is not optimized (sometimes corrupted file) or not presentable


Tony

  • Support Staff

January 17, 2018 at 4:52 am

Hi there,

– 1) First i’m getting a PHP warning in the invoice page please see attached screenshot.

The warning means your server is blocking the connection to pull in the image.

Can you contact your host and confirm if allow_url_fopen is enabled on your server, if not they will need to enable it on your site.

– 2) Switch to Receipt is not working or does not display any result

If you go to Event Espresso -> Messages -> Default message templates -> Receipt.

Do you see content in the template sections or are they empty? – http://take.ms/gi1Ri

If they are empty, click the ‘Reset Templates’ button on that editor and check content is then shown.

Now retest the switch button.

– 3) Download PDF result is not optimized (sometimes corrupted file) or not presentable

It’s the same issue that is affecting #1.

Start by checking for allow_url_fopen and we can go from there.


Sipep Design

January 17, 2018 at 10:30 am

Hi,

The reciept issue was already fix but the allow_url_fopen was not. I check the WHM and allow_url_fopen was already open but still the error display.


Tony

  • Support Staff

January 17, 2018 at 12:41 pm

Are you still getting the error from getimagesize() on the Invoice page?


Sipep Design

January 17, 2018 at 11:39 pm

Yes im still getting the error even though the allow_url_fopen is already set to On


Tony

  • Support Staff

January 18, 2018 at 2:02 am

OK, then something is blocking the request as it shows error 403 Forbidden.

Are you running iThemes security?

If so you’ll need to disable “Enable HackRepair.com’s blacklist feature” within iThemes Security Pro.

If you’re not running any security plugins you’ll need to contact your host and have them investigate what is blocking the request.


Sipep Design

January 18, 2018 at 7:54 am

Everything works perfectly 🙂 Thanks for your help brother


Tony

  • Support Staff

January 18, 2018 at 9:25 am

Great, so I’m guessing it was from iThemes?

The support post ‘PHP Warning + Switch to Receipt not working + Download PDF result not optimized’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Tony 2 years, 2 months ago ago

Topic Tags

Tagged: ,

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!