Support

Home Forums Event Espresso Premium php error after checkout

php error after checkout

Posted: June 5, 2015 at 10:34 am

Viewing 5 reply threads


Joe Malouff

June 5, 2015 at 10:34 am

After I register for an event and buy tickets. I get this error at the top of my screen. https://www.evernote.com/l/ASfoghXZzB5E64MMy5eZwdl4o60iRzFMIdg

I am getting an error: Warning: getimagesize(/wp-content/uploads/2015/04/images-300×90.jpeg) [function.getimagesize]: failed to open stream: No such file or directory in /home/boxofficefruitio/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 300
Unable to stream pdf: headers already sent

Thank you in advance for your help


Tony

  • Support Staff

June 5, 2015 at 10:47 am

Hi Joe,

That error usually happens when allow_url_fopen has been disabled on your server.

If you download the PDF are all of the images visible?


Joe Malouff

June 5, 2015 at 11:40 am

when i click download pdf i get a php error on a white screen


Lorenzo Orlando Caum

  • Support Staff

June 5, 2015 at 12:08 pm

Hi Joe, could you temporarily turn on WP debugging by adding the macro in this link to your wp-config.php file (the middle is a good location):

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

Then please try triggering the error again and you should see an error appear on the screen.

Could you please post that error here in a reply?

Then please deactivate WP debugging by removing the macro and saving changes.


Lorenzo


Joe Malouff

June 5, 2015 at 1:54 pm

is this what you mean? This is the error i get when i click on the download PDF after checkout.

Warning: getimagesize(/wp-content/uploads/2015/04/images-300×90.jpeg) [function.getimagesize]: failed to open stream: No such file or directory in /home/boxofficefruitio/public_html/wp-content/plugins/event-espresso-core-reg/core/libraries/shortcodes/EE_Transaction_Shortcodes.lib.php on line 300
Unable to stream pdf: headers already sent


Josh

  • Support Staff

June 5, 2015 at 2:05 pm

Hi Joe,

The issue you’re seeing sometimes happens when the web server does not use the allow_url_fopen function. You can contact your host to see if they can enable the allow_url_fopen function, or remove the image logo from the invoice.

There’s other possible solutions in this stackexchange answer:

http://stackoverflow.com/a/26642482

Viewing 5 reply threads

The support post ‘php error after checkout’ 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