Support

Home Forums Ticketing Add-on Errors on printable ticket

Errors on printable ticket

Posted: October 17, 2012 at 9:07 am


Tony Pettis

October 17, 2012 at 9:07 am

First, let me say that this plug-in and all the associated add-ons totally rock. I do a lot of website construction and work in both WordPress and Joomla and I don’t think that I have ever had something with this much functionality work so well straight out of the box. Cudos to everyone.

However, I do seem to have one issue that I need to get resolved, and it’s on the page with the printable ticket. Everything is great and works, except that there are these errors at the top of the HTML page.

Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in /homepages/36/d223979852/htdocs/Christmas/wp-content/plugins/espresso-ticketing/functions.php on line 192

Warning: getimagesize(http://hallelujahchristmas.com/wp-content/uploads/2012/10/profile-300×300.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in /homepages/36/d223979852/htdocs/Christmas/wp-content/plugins/espresso-ticketing/functions.php on line 192.

Anyone have an ides of how to resolve this?


Josh

  • Support Staff

October 17, 2012 at 10:13 am

Hi Tony,

Can you check the phpinfo() and see if allow_url_fopen is set to on? There are WordPress plugins that will let you view the php info from the WP dashboard, or create a file on your server and add this code then navigate to it in the browser:

<?php

phpinfo();

?>


Tony Pettis

October 17, 2012 at 11:21 am

It is set to off. My hosting provider for this site is 1and1, so I don’t get to make change to the php configuration. My knowledge of php is limited, but from what I’ve read this morning, the allow_url_fopen being set to off is for security reasons. Is there a way to manually set it, maybe in the .htaccess file, or another workaround?


Josh

  • Support Staff

October 17, 2012 at 1:41 pm

Have you tried asking the host about turning allow_url_fopen on? They don’t need to turn on allow_url_include.


Tony Pettis

October 17, 2012 at 2:11 pm

1and1 has it turned off by default. The best workaround I found said to create a php.ini file at the root of the site with the following code:

allow_url_fopen = ON

That seems to have done the trick as the ticket looks fine now.


Josh

  • Support Staff

October 17, 2012 at 2:36 pm

Nice! Glad to hear you have it working.

The support post ‘Errors on printable ticket’ 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