Posted: November 16, 2013 at 11:22 am
|
Hi, How do I solve these problems? I need the background image in the ticket. I also tried to insert a background image into defaut ticket and the behavior does not change. Can you help me? This is an example of my ticket: http://aicsturitalia.it/?ticket_launch=true&id=164&r_id=52874617a85ce8.63685227&html=true I’m a mac user Thanks in advance, |
|
Please, can someone answer? |
Hi Marco, I am a windows user so only have ‘Safari for Windows 5.1.7’ but had no issues with downloading the above ticket and no issues with the Event Title. Also the same with Chrome, no issues downloading or opening.
So the default ticket also breaks with a background image? or works correctly? |
|
|
Hi Tony, Please help me solve this problem! |
Unfortunately without being able to reproduce it I can only guess currently. On Chrome what happens? |
|
|
Apparently everything is ok. No error. I attach a screenshot |
|
I can see the problem in Chrome on your example url, but I tried to reproduce the problem on my site and even with your background image, I can download the pdf: http://eetesting.info/EE_branch/?ticket_launch=true&id=8&r_id=2-5285563860b75&html=true&&pdf=true I suspect it may have something to do with the dot in your registration id. |
|
Hi Sidney, thanks for the reply. Now, I’m using the default ticket where registration id is different (without dot) but still doesn’t work in Chrome. URL: http://aicsturitalia.it/?ticket_launch=true&id=67&r_id=1-525bd0d63fdc1&html=true&&pdf=true But why doesn’t it work? |
|
I think I understand the problem. The problem is in the conversion from HTML to PDF. If I paste the link on the browser Chrome: http://aicsturitalia.it/?ticket_launch=true&id=67&r_id=1-525bd0d63fdc1&html=true&&pdf=true pdf download works. Do you have any idea why this strange behavior? |
|
I’m pretty stumped. I tried going to my html page first: http://eetesting.info/EE_branch/?ticket_launch=true&id=8&r_id=2-5285563860b75&html=true and then following the link to the pdf, and it still worked. Your link, however, when I follow the link in it to the pdf, won’t even respond to the “save as” in the contextual menu. |
|
Hi Sidney, This example is the same as yours, but to me it does not work. Is there a way to make the conversion from HTML to PDF automatically, without switching from html page? |
|
You can try opening plugins/espresso-ticketing/espresso-ticketing.php and change line 153 to: return home_url().'/?ticket_launch=true&id='.$attendee_id.'&r_id='. $registration_id.'&html=true&pdf=true'.$extra; |
|
Hi Sidney, But there is another small problem: In Safari, when I save the pdf file, its name is: http—aicsturitalia.it-?ticket_launch=true&id=216&r_id=528a5f6612f9a3.pdf, while in Opera browser the generated file has the name of document.pdf Can you see this problem? |
|
No, I tested it with my site in Safari for Windows (running in Wine on Linux) and couldn’t see the problem. It just gave me a normal filename.
|
|
Ok Sidney. But I’m a mac user. Thanks in advance |
|
Josh is on a Mac, he’ll take a look in a little bit. Can you repost a link to one of your ticket examples? All the ones above are not working anymore, and it might be helpful to get one from your server. |
Hi Marco, The ticket link you posted appears to be no longer working. I tested downloading a ticket from my test server on Opera/Mac and it’s naming the file as expected. Is your server OS Linux or Windows? |
|
|
Hi Josh, In Safari, when I save the pdf file, its name is: http://aicsturitalia.it/?ticket_launch=true&id=222&r_id=528bb79502c248.53991186&html=true&pdf=true.pdf, while in Opera browser the generated file has the name of document.pdf my server is OS Linux. |
|
I’m sorry I was wrong to write the name of the generated file on Safari. |
Hi Marco, I checked around and this may be a bug in Safari: http://sveinbjorn.org/safari_content_disposition_info_ignored |
|
|
Um! OK Josh. Instead regarding Opera, the generated file name is document.pdf. |
I don’t. I opened the link that you posted and the file name saved as expected in Opera version 18.0.1284.49 on Mac OSX 10.8.5 and a screenshot showing the file name that was saved: |
|
|
Ok Josh! Thanks anyway. |
The support post ‘Strange Ticket Error!’ 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.