Viewing 10 replies - 16 through 25 (of 25 total)
  • OK. I got iPage to turn that On and the QR and map show up.

    The only thing left is that the openticket logo does not show up. The message is:

    Image not readable or empty
    /wp-content/plugins/opentickets-community-edition/assets/imgs/opentickets-tiny.png

    When I put in to my browser “https://www.toolss.com.au/wp-content/plugins/opentickets-community-edition/assets/imgs/opentickets-tiny.png” I get the image. Looks like the full address needs to be in the URL but its just the /wp-content onwards. Any ideas.

    Plugin Author loushou

    (@loushou)

    Hey @iconicangel,

    I have written a solution to the problem we found in the pdf lib that we are using, dompdf. It is available in the latest version, 1.10.9, which I have updated your demo install to, and tested for proof of concept.

    The solution I made now attempts to first use cURL for images and css, and then if that is not available, it tries to use fopen if allow_url_fopen is on. If both fail, it throws an exception, making it a little easier to track down for others. Also for the OpenTickets logo image issue, the problem was that the png format we used for that image was not supported by the library (apparently one of the uncommon header formats). I have changed the image to a jpg to resolve the issue completely.

    This was a good find, and I really appreciate the ability to mess with your install to track it down. Without that, we would still be seeing it working while others report it not. Hopefully this resolves the PDF related issues entirely for everyone.

    Thanks again,
    Loushou

    Thanks for your assistance on this issue. The following is now happening when I try to download the PDF.

    I created a new order and marked it completed. I received the email with the ticket link. I opened the ticket link with no problems. I then clicked on download PDF. It looked like I was downloading the PDF but after about a minute the browser PDF reader came up with “Failed to Load PDF”.

    The link to the on line ticket is as follows:

    https://www.toolss.com.au/?qsot-ticket=1&qsot-ticket-id=fDI1MC40NDQuOH43MzM4YWZjZTZlNGRjNGViOWQ3ZTk0MDU2NzNkYWIwZGEyMjc5M2Qz&n=b59ddc8fe23e018818666de3d7a03b2d

    By the way before you implemented the upgrade on my site, a PDF did show up with the QR code and map, just not the opentickets logo.

    I had got iPage to turn on the allow_url_fopen option in php.ini as you suggested and that is when the QR and map showed up.

    Plugin Author loushou

    (@loushou)

    Hey there @iconicangel ,

    When I goto that url and click the PDF link, the PDF loads in the browser for me. Perhaps I should just change it back to sending a file to be saved instead of trying to load it in the browser (which also gives you the ability to save it). I will work on that an get something put together for this.

    Loushou

    Plugin Author loushou

    (@loushou)

    Hey @iconicangel ,

    I updated the code to send the file instead of trying to load it in the browser by default. I also changed up how the qrs are included in the PDF so they are less likely to cause issues. Let me know if these changes solve the problem.

    Loushou

    Hi Loushou

    I’ve been off working on other projects, so sorry for not getting back to test your changes.

    I cleared my browsers history and then went on to create a new order and received the confirmation email. I was able to load the ticket from the URL in the email but again when I clicked the download option, it said “Failed to load PDF document”

    I am using the Chrome Browser for my testing. Could that cause the issue? Also I wasn’t quite sure what you meant by “I updated the code to send the file instead of trying to load it in the browser by default”?

    Keep at it. This plug-in is great.

    Regards Steve

    Hi Loushou

    I retired the download process again and this time after waiting for ever it worked … once but when I tried again it failed. This could be due to my internet.

    Question: It’s nice having a PDF version but why? They can print the tickets from the browser and the likely hood that anyone would download the PDF and want to get it scanned off their phone would be remote and if they did, then they could click on the email URL to bring up the HTML ticket. Just thoughts.

    Regards
    Steve

    Hi Loushou

    I have now updated to version 1.10.13. I didn’t realise that I needed to see you where testing on my site.

    The work you have undertaken to resolve these issues has corrected them all. Thanks for your customer support.

    My client has now asked for multiple ticket prices and so I have ordered your General Admission Multi-Pricing (GAMP) extension to fulfil this new requirement.

    Regards
    Steve

    Plugin Author loushou

    (@loushou)

    Thanks for the kind words @iconicangel. I am glad to hear that everything has worked out. Thanks again for letting us use your installation to track it down. I am also glad you found the GAMP extension. It is a powerful tool, and can handle exactly what it sounds like you need with the new requirement. Also, if you have the time, a great way to compliment the the plugin and to let the community know how it works for you, would be to give it a rating and review.

    Thanks,
    Loushou

Viewing 10 replies - 16 through 25 (of 25 total)
  • The topic ‘QR Codes not showing up anywhere’ is closed to new replies.